From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filippo Argiolas Newsgroups: gmane.emacs.help Subject: Replace filename from compilation buffer errors Date: Fri, 29 Nov 2024 12:01:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11615"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 29 12:02:32 2024 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 1tGylb-0002u9-My for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 29 Nov 2024 12:02:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGyl6-00021K-A8; Fri, 29 Nov 2024 06:02:00 -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 1tGyl5-00021B-72 for help-gnu-emacs@gnu.org; Fri, 29 Nov 2024 06:01:59 -0500 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGyl3-0005V5-OZ for help-gnu-emacs@gnu.org; Fri, 29 Nov 2024 06:01:58 -0500 Original-Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-434a766b475so15832595e9.1 for ; Fri, 29 Nov 2024 03:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732878115; x=1733482915; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=/kMZ96Azx+/dva8vIkyhFSYzTPvxv0Czv2gGuzkmk1M=; b=Xd5nTCZ5/aiw+PAi9ufqet8a8nLRmRJBpRGRflz8RmXapCRjGIFeeGRQ2b1gE5/i6o qofftqcXIP4sBrU9V4IBM4NYTh3ZXvoDMlKkSshuH4V5mbvdKaI+NaOibFGhjKKFpgFm 0fr546WlJcOHPJmkMLQ2xjLiliVF0zk2GFOAvPwrZrVjXRtfHq9RCDHZTrSs1LmbyWNY bTCVSxYVjzVpD5lptPYbQMWvCeWDF6iQxzUCRryAemyLaybQk1dvFY28BK2W87bmbmhP Yq2hBwYYExPouNWnFDxUyMz8Rw8DdgoaqmNK4TIsPga0tcqqEoXSUy7yT91UWYlsQDqh heQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732878115; x=1733482915; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/kMZ96Azx+/dva8vIkyhFSYzTPvxv0Czv2gGuzkmk1M=; b=dSZpSpQz99lRGPSwlVtMyfGnnREWNJusP3ZTlsR5z3hC9W3GmqKofyecg1QPRpJy1z g8y2fcyBBznqBPumxsciEDKv0kovMQra3SZWROFbHjfM/yUDduJW3eTFmAbmWmHVSntt +oK7kNkA9MqL4ZJsDOV0xVPqWsfP6kUcGTK4PWXfDXxeKxD6pEyurNQNo0CeLeaq4SMi PX6ARCy/Mq4mqsn7tphBKu2msEiz5AfcMrAuDDRVl3KoXXPFgZ7Jgh/7VmD4wFPiRmeJ EOlk11PPdyya1k1ldQu63DmEcgXVXQYD7tSgBaaHwb8FBEm6rG/4masU5R/Ag4LBuuF4 kwiQ== X-Gm-Message-State: AOJu0YyeB45TuEks5cTlPKLCUX4tOGqqjI2BwbJTEwARDXRl8bB3NX1i KSwI5wZb3GnHlNg3QyXRr/x/ZdQivsOpEIyl90qoIb9lTzmghS++t+KCmOj9 X-Gm-Gg: ASbGncsQcJkPoPaonmxq1S9sHd1b5c0qtYk96ey+EFR60YofFUWPQUGGjOztONC4c84 K6Pela1ZBeM6Y/Eh3V20kt2c1uMVrlTIvEO96LPDF1kHXRBU/qS3weNcgCHqIhmBt8T8EJHO2Og /TyBPqFrF9ANVXEvLrzsDpfyNMfs/IbTCI+3Vm2l9FkuNS3uQXEbgwOpaADqx7dtU5d+ftUzWRc oYXtbDwpReifSKyd4ICi6mSQ2Nu4uba1HzSj688/YmJlyMJhf6bXCo6nlc= X-Google-Smtp-Source: AGHT+IGPZ3uVY8DXcpukdFjUwuPd0d4vkMyxRCPDo1W0Saj9kGhunDo/2Dvsur1B9tZbmNuNu3meOA== X-Received: by 2002:a05:600c:4e8a:b0:42c:b52b:4335 with SMTP id 5b1f17b1804b1-434a9dc3e80mr116088975e9.10.1732878114842; Fri, 29 Nov 2024 03:01:54 -0800 (PST) Original-Received: from mba ([151.81.191.240]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa7e4fe1sm80254835e9.38.2024.11.29.03.01.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 03:01:54 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=filippo.argiolas@gmail.com; helo=mail-wm1-x32f.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: 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:148436 Archived-At: Hi I am working on a project that builds in a temporary workspace. I'd like to take advantage of Emacs compilation mode, especially jumping from an error to the locus inside the file. Problem is it jumps in the file inside the temp workspace instead of the one in the source tree. Is there a way to achieve a simple string substitution in the file name before jumping while keeping existing compilation regexps? Thanks, Filippo