From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Karthik Chikmagalur Newsgroups: gmane.emacs.devel Subject: Re: Understanding filter function calls Date: Wed, 17 Apr 2024 20:52:41 -0700 Message-ID: <87il0fxr7a.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16881"; mail-complaints-to="usenet@ciao.gmane.io" To: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 18 05:53:40 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rxIqC-0004Hp-3M for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Apr 2024 05:53:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxIpM-0003OH-RK; Wed, 17 Apr 2024 23:52:48 -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 1rxIpK-0003Nn-Lf for emacs-devel@gnu.org; Wed, 17 Apr 2024 23:52:46 -0400 Original-Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxIpJ-0007IT-9l; Wed, 17 Apr 2024 23:52:46 -0400 Original-Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1e0bec01232so3796755ad.3; Wed, 17 Apr 2024 20:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713412363; x=1714017163; darn=gnu.org; h=mime-version:message-id:date:in-reply-to:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=1+nwAL7GRB7F0CwzqUupuN10pdjb+jbksztfRLdBl8I=; b=MVx0/eiFv6iM9EqLamk9GmGmF+gGb+yfeTVaUTNRdh4QmviEq5mJ0pMhUX48P1epmc p/g+4bcTj/aPiMteUcYfkdgTz3GWlSu4oByqsVr0mpvYh0Yr6+l+SIzqVHinWwQK5ZAv aL45GD56D1jf9uzJRZ37+QEkyyR6xbjipXhpLYBep3eATuQk6Ko0j8EyN0Dv5DA3yqqr qxx+CHLeBrfQJuEp3qQfT2tYEtCzSubyIJs03qIMcrWu/NGZsRWFK8zep3ub5VxME9VC JNbPAhOR2yu+0GaJ9LK0Nv8UPxAlQlFY4v+ZwK8nSXFdRz6/YvYU9AFhHLaNpAkaU+L4 E6VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713412363; x=1714017163; h=mime-version:message-id:date:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1+nwAL7GRB7F0CwzqUupuN10pdjb+jbksztfRLdBl8I=; b=Gs0XQvdarKt5lWkYEr5CL9FXNmFMTi2+n1Rzfr8Ysm0jfNaBQwIIhMSoPqchxjqE2D kdse0karnGK94FPE1+hucvup6cFDqHTSbkhpAaxEK1EUh+jj52VCpWe1wyp3E1w1sT8O PezQXVwU2JnajUoUYt5qQfI9+QdESr2t6EwRw9kjb7T1y7PJwiGwpgjGZpSrTsclcGgj 7i6PGDJ8qaAIccvlbqDzL/kEaUROsnuCYhNNht48hob5uYfJUQq2u4srJNBzB1LiT7xa SqxtdarXsPl9OHGYmohp/dX7W2YpxE+ONdRZOJZoewYmwiT7r3wgumraQSfApqsDRJ2I 5ssg== X-Forwarded-Encrypted: i=1; AJvYcCX381tYH23lOoFqQHraO9HNM7tjdw875LnOqM3wZA/UzuZ5nuC9SPAObo9Y86wmD/33G73Xxre2KFAfXb8QS8PsP8eg X-Gm-Message-State: AOJu0YyTWdgP/tGHJhh2cVJhFeK3h1HEZI9+MDN2Fz82RuSGX1Vm7nKc 8hFU8IlCx3Q4svc5pObQiQPYHO6DfXtsr+R8Nk84JlF0SjYIzet6z3Pv4g== X-Google-Smtp-Source: AGHT+IGWLdYZdj+IBJry3euzG4ZLjUx1W3scuvKEbNtC7SE5en41OAvn2MN5dK6IdcCVKlK3XnoqZg== X-Received: by 2002:a17:902:ce85:b0:1e3:e242:4dc9 with SMTP id f5-20020a170902ce8500b001e3e2424dc9mr2020960plg.33.1713412362750; Wed, 17 Apr 2024 20:52:42 -0700 (PDT) Original-Received: from localhost ([2600:8802:5726:2500:a420:d6d7:e354:3403]) by smtp.gmail.com with ESMTPSA id h10-20020a170902b94a00b001e088a9e2bcsm429781pls.292.2024.04.17.20.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 20:52:42 -0700 (PDT) In-Reply-To: 83sf97i7ak.fsf@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pl1-x632.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317790 Archived-At: > > > AFAICT, the data it outputs is completely useless in > > > production use cases, and (with the possible exception of the last > > > line, which shows the output file name) is basically debug-level info. > > > > The filter function needs to read the output file name for the purposes > > of updating LaTeX previews in the buffer. The rest is superfluous to us > > -- but it's possible that the sizing information is useful to other > > applications. > > Then maybe ask the dvisvgm developers to provide the level of > verbosity that only shows the file name. Emacs in general and Org in > particular are important applications, and so it would be reasonable > for the dvisvgm developers to cater to our needs, not only to the > needs of other programs. An update from the future: we asked the dvisvgm maintainer to provide a customizable stdout message option and it was added in dvisvgm 3.2. This has made the Emacs side of things great. The filter function is no longer the bottleneck, dvisvgm itself is. Karthik