From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: file-remote-p being called too often? Date: Wed, 17 Jan 2024 13:18:09 -0800 Message-ID: References: <0eaa7499-dc5e-4bc5-828d-2465b23bc586@orange.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22842"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel , Eli Zaretskii To: David Ponce Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 17 22:18:30 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 1rQDIs-0005gc-0u for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Jan 2024 22:18:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQDIj-0004w8-IV; Wed, 17 Jan 2024 16:18:21 -0500 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 1rQDIf-0004vY-Qz for emacs-devel@gnu.org; Wed, 17 Jan 2024 16:18:18 -0500 Original-Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQDIe-0006eP-6S for emacs-devel@gnu.org; Wed, 17 Jan 2024 16:18:17 -0500 Original-Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-5957ede4deaso6588062eaf.1 for ; Wed, 17 Jan 2024 13:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705526293; x=1706131093; darn=gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=yUJVP/hpcMjgmK1JA9QVFYxnelHWp3fxgqdyPUrS3F8=; b=XSLdy/xIFaByHq1f2Kdn3d1qRWRh260+OmriK8rjutMaOF2B/CPhF+BtLppH+Z2NKD whtjX9Vy9Fg+yQFiFgdjW5KDturpLeqmJrB2FB4VnbkZRc/sxUicsVipJFUmBK5vx21h r7NInve4F9qiIi3UCP1KOED6xRPlRlc0dfXyep5JDhINMpZafDkxTyIyFuQscCUugnCl KLirhUqRYfhOvBn+gQpe9zGPzCjoONGvJplk1ervbZbSvhM8wkXQlJRBujptbvc4Zd9s tCyJ2sl4IqK5jUk08hbIJd3tQ/jWtBYfbGvZwJ7Z4riyCYZ2GExz0UTjwbgnwVS8uX6f m9kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705526293; x=1706131093; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yUJVP/hpcMjgmK1JA9QVFYxnelHWp3fxgqdyPUrS3F8=; b=kd0IWM4KyNnJBXa3BqppEUwIew6sgz+WiESNfGWlmSriTxEf/eloibrzOIvKlU0J5p PPdUzzL7xmLW1bjliYYnkAojKLjFWbw6ifzIWASM/2eMMcKw1FyYFdTIXFfJQ7lr9AE6 6zfXObQvfI/W2yawDY8FP/iJ9HRJHXprmJ8psy37econ+HcT3Ydo3kPcHZUxdo9kydu1 OcRldawPPHCA6XYQLYu33nck+Q3OpFgRgXDpDXu/9weC/Yh7MmzgTwg1vI2eK3C1Kp9N E0sxbKMAGsZBZxOpDYJN3VIR5CjcrOhk3Bu48pCSCE/eHzpLe8L1OcIu0j+Fx/oD7plK B+tQ== X-Gm-Message-State: AOJu0YwkUUcOT8oKqd/hTKB+Nvz7yXcregAR7bCZDoNCBb2xigbD85YK 7NbH6jQ3/+ErV7KcghGyuGPL4Fs30Xdv X-Google-Smtp-Source: AGHT+IHDKpbE81Cz8kLXljt9zXDYk0BP1oR45qs5tVmMF/BLBaBc+FuTX+q+8nbkJFGdGGqr60mBVg== X-Received: by 2002:a05:6358:c611:b0:175:7126:5a1c with SMTP id fd17-20020a056358c61100b0017571265a1cmr5802537rwb.0.1705526292422; Wed, 17 Jan 2024 13:18:12 -0800 (PST) Original-Received: from raman9 (c-98-45-12-92.hsd1.ca.comcast.net. [98.45.12.92]) by smtp.gmail.com with ESMTPSA id 3-20020aa79243000000b006d9a42f25b2sm1899980pfp.201.2024.01.17.13.18.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 13:18:11 -0800 (PST) In-Reply-To: <0eaa7499-dc5e-4bc5-828d-2465b23bc586@orange.fr> (David Ponce's message of "Wed, 17 Jan 2024 20:57:12 +0100") Received-SPF: pass client-ip=2607:f8b0:4864:20::c36; envelope-from=raman@google.com; helo=mail-oo1-xc36.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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:315058 Archived-At: As one more means to chasing down the culprit: mM-x debug-on-entry file-remote-p Above gets invoked when emacspeak plays a local audio file as an earcon using a shell command; there should be no reason to run file-remote-p in this case. Debugger entered--entering a function: * (file-remote-p "/home/raman/emacs/lisp/emacspeak/sounds/" localname) (file-local-name "/home/raman/emacs/lisp/emacspeak/sounds/") (executable-find "pactl") (emacspeak-sounds-get-file process-active) (emacspeak-play-auditory-icon process-active) (emacspeak-auditory-icon process-active) (emacspeak-speak-mode-line nil) (# emacspeak-speak-mode-line nil) (apply # emacspeak-speak-mode-line nil) (ad-Advice-funcall-interactively # emacspeak-speak-mode-line nil) (apply ad-Advice-funcall-interactively # (emacspeak-speak-mode-line nil)) (funcall-interactively emacspeak-speak-mode-line nil) (# emacspeak-speak-mode-line nil nil) (apply # emacspeak-speak-mode-line (nil nil)) (call-interactively@ido-cr+-record-current-command # emacspeak-speak-mode-line nil nil) (apply call-interactively@ido-cr+-record-current-command # (emacspeak-speak-mode-line nil nil)) (call-interactively emacspeak-speak-mode-line nil nil) (command-execute emacspeak-speak-mode-line) --