From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Nikishkin Newsgroups: gmane.emacs.help Subject: Dired-omit-mode: print dirname of omitted files Date: Tue, 18 Jul 2023 12:30:53 +0800 Message-ID: <87h6q17s3f.fsf@laptop.lockywolf.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36586"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.14; emacs 30.0.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 18 06:38:17 2023 Return-path: Envelope-to: geh-help-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 1qLcTZ-0009MX-Io for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 06:38:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLcSt-0005Cy-6s; Tue, 18 Jul 2023 00:37:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLcSs-0005Cq-1S for help-gnu-emacs@gnu.org; Tue, 18 Jul 2023 00:37:34 -0400 Original-Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLcSq-0002jF-IZ for help-gnu-emacs@gnu.org; Tue, 18 Jul 2023 00:37:33 -0400 Original-Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-517bdc9e81dso2144650a12.1 for ; Mon, 17 Jul 2023 21:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689655050; x=1692247050; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=CtJ24cnfozz5kBwJyKevssn2mG/eyZsVh/tyAOLXTEQ=; b=eKADqo/1iCLthMDDRR4/LW1FV5edOP0RF3MyFxgYdD+BpCBzOYVX2fz6cVBHRmxCIC v44VoaKUW2aoitlschy36PjQrKjJ2HiAzTyY9RsMwaIuLNi4flAcBAz3SfZXDAsSjJI/ GGvcTm+SebtYvD36zbDwdpDplNxjCRiuA5Rd+s4nDPU+kJy0bBd/SjO4ABWIYYQnJ3DY tzvsbQw65pDdH3cEXJVd87rGKqxh8f/Y2AMFO6Tot10du7B7m83WeryRcJ1R+jQFuBkO wY0OOtz9/d94eHyV6db3hj8aZbgns4qs96eu3ZAJinp+sHgCk+zFJCRvNrC66UNp0fvL Y0cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689655050; x=1692247050; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CtJ24cnfozz5kBwJyKevssn2mG/eyZsVh/tyAOLXTEQ=; b=Fwk6ZEtwRxCBwlyPQHcuhdxGeEybfuZeQJ5x+LyWz+MSevIkeRRBVj7TfWyA3jio8L GmJVxKnXalQujI7Rxe8z6WpQaxSlzff0AxoudHyHXxpQT+ahrwhkh5j0meT3DXoJnUdB 6yIXlFxYFMgejCU+2ofltr1U3oafEGGRJmSMZtvV0+qU0KQOTfs+Qj/Cr+sZL3jbGlay Hyylz+b0v1jpGdgUDpBBchRlD2QUo6L6m8Qa7X7lAXsYaqpYZO+vhSVmywGartvVh1ei g3YoVrAcyM5JNQib+kgv99qneqM7bh0bHdp4/CwA2xBRy3bYYqJ1vsLn31afzjscBbe4 ctRQ== X-Gm-Message-State: ABy/qLbgK92e0ZJ29R/dHSAjVhE7/PPNjIIpYueDi+6Rd83qLX4BTDd4 TxdcCh72TsXjYhUo3ihV86RtQOn0MkchKA== X-Google-Smtp-Source: APBJJlElm9QKJKELfMRzgaVqn67FDy8Am3gIA9tCIy7dkHmNPCeVKM8J1LU2cE+ieONQO3TGbt33KA== X-Received: by 2002:a05:6a21:339e:b0:125:f3d8:e65b with SMTP id yy30-20020a056a21339e00b00125f3d8e65bmr1529131pzb.18.1689655049814; Mon, 17 Jul 2023 21:37:29 -0700 (PDT) Original-Received: from laptop.lockywolf.net ([2001:470:24:315::102]) by smtp.gmail.com with ESMTPSA id u13-20020a170902e80d00b001b9de67285dsm703926plg.156.2023.07.17.21.37.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 21:37:29 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=lockywolf@gmail.com; helo=mail-pg1-x52d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144306 Archived-At: Hello, everyone I have many dired buffes open, and I use dired-omit-mode with the dired-omit-verbose variable set to true. In the *Messages* buffer I am seeing "omitted X lines", which is nice: I don't see useless file in dired, but I do know that they exist. However. This works nicely when there is _one_ dired buffer. Where there are many, and especially when they are auto-reverted, the *Messages* buffer is full of "X lines omitted" messages, and I don't know which buffers they are coming from. I would suggest to modify the message like: (buffer-name): Omitted X lines. Should be a fairly simple change, could someone familiar with dired's source make it? Thanks everyone! -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)