From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ivan Sokolov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add buffer name option for project-compile Date: Mon, 12 Apr 2021 10:34:57 +0000 Message-ID: <9B5C156D-6D13-4F1C-A50F-80DE1B2772F0@ya.ru> References: <29479451618183143@myt6-2b82e4d1fc0a.qloud-c.yandex.net> <87blaj6htz.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 12 12:36:45 2021 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 1lVtvx-0005NG-Nd for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Apr 2021 12:36:45 +0200 Original-Received: from localhost ([::1]:57056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVtvw-0002pC-Oq for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Apr 2021 06:36:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVtuS-0001Ui-HU for emacs-devel@gnu.org; Mon, 12 Apr 2021 06:35:12 -0400 Original-Received: from forward103o.mail.yandex.net ([37.140.190.177]:41122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVtuM-0001yg-0R for emacs-devel@gnu.org; Mon, 12 Apr 2021 06:35:11 -0400 Original-Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 813AC5F820DF; Mon, 12 Apr 2021 13:35:01 +0300 (MSK) Original-Received: from vla5-f64a9cf61b48.qloud-c.yandex.net (vla5-f64a9cf61b48.qloud-c.yandex.net [IPv6:2a02:6b8:c18:3519:0:640:f64a:9cf6]) by forward102q.mail.yandex.net (Yandex) with ESMTP id 7F3983A2000B; Mon, 12 Apr 2021 13:35:01 +0300 (MSK) Original-Received: from vla5-8422ddc3185d.qloud-c.yandex.net (vla5-8422ddc3185d.qloud-c.yandex.net [2a02:6b8:c18:3495:0:640:8422:ddc3]) by vla5-f64a9cf61b48.qloud-c.yandex.net (mxback/Yandex) with ESMTP id Feaxxcixtt-Z1J49Den; Mon, 12 Apr 2021 13:35:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1618223701; bh=uA42s7Y1d6L7TdDD36zXzMSk6pAzbsV6lp7seZE3ig8=; h=From:To:Subject:CC:References:Date:Message-ID:In-Reply-To; b=ry9iKSklqHTn9x1k78hAVPGm0zU0bPx6fbez7XNI48Z52mizqhr5/8Lyhb0DytAKb Nc4/5wKIwMZGRgFSjPPJmVO2kTiaWCvaeLzuoIy8BM+zZxzSKuNvdH79QqTHfd+ui0 PqGm6/2S1Yxw9UguFurBgQ7bhr/fge0/Eat9GOpQ= Authentication-Results: vla5-f64a9cf61b48.qloud-c.yandex.net; dkim=pass header.i=@ya.ru Original-Received: by vla5-8422ddc3185d.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id WkhIFrnAan-YxKuJU5P; Mon, 12 Apr 2021 13:35:00 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) In-Reply-To: <87blaj6htz.fsf@posteo.net> Received-SPF: pass client-ip=37.140.190.177; envelope-from=ivan-p-sokolov@ya.ru; helo=forward103o.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:267949 Archived-At: On April 12, 2021 8:13:44 AM UTC, Philip Kaludercic = wrote: >Ivan Sokolov writes: > >> +(defun project--compilation-buffer-name (mode) >> + (concat "*" >> + (file-name-nondirectory >> + (directory-file-name default-directory)) > >Should this be the default directory or the project root? project-compile sets the default directory to the project root >> + "-" >> + (downcase mode) >> + "*"))