all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Sokolov <ivan-p-sokolov@ya.ru>
To: Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Add buffer name option for project-compile
Date: Mon, 12 Apr 2021 10:34:57 +0000	[thread overview]
Message-ID: <9B5C156D-6D13-4F1C-A50F-80DE1B2772F0@ya.ru> (raw)
In-Reply-To: <87blaj6htz.fsf@posteo.net>



On April 12, 2021 8:13:44 AM UTC, Philip Kaludercic <philipk@posteo.net> wrote:
>Ivan Sokolov <ivan-p-sokolov@ya.ru> 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)
>> +          "*"))



  reply	other threads:[~2021-04-12 10:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11 23:19 [PATCH] Add buffer name option for project-compile Ivan Sokolov
2021-04-12  8:13 ` Philip Kaludercic
2021-04-12 10:34   ` Ivan Sokolov [this message]
2021-04-23  0:17 ` Dmitry Gutov
2021-04-23  3:09   ` Ivan Sokolov
2021-04-23  6:14     ` [PATCH] " Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9B5C156D-6D13-4F1C-A50F-80DE1B2772F0@ya.ru \
    --to=ivan-p-sokolov@ya.ru \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.