From: Manuel Uberti <manuel.uberti@inventati.org>
To: emacs-devel@gnu.org
Subject: Re: project--files-in-directory: code formatting
Date: Wed, 4 Nov 2020 15:45:59 +0100 [thread overview]
Message-ID: <2b0f8de5-4202-8056-2c39-94802027f8c5@inventati.org> (raw)
In-Reply-To: <jwvd00tp56u.fsf-monnier+emacs@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
On 04/11/20 15:30, Stefan Monnier wrote
> Yes, please!
>
> I even added a font-lock rule to highlight such cases in red, but
> apparently that rule doesn't catch this particular case (if you replace
> the empty string with a symbol, it does catch it, tho).
>
Hi Stefan,
thank you for the prompt reply. I attached a patch for this little change.
Let me know if I did something wrong or you want me to change something.
Thank you
--
Manuel Uberti
www.manueluberti.eu
[-- Attachment #2: 0001-Fix-project-files-in-directory-formatting.patch --]
[-- Type: text/x-patch, Size: 1046 bytes --]
From 67f7b611d68131f9dcbedafae93b1d1b4d350908 Mon Sep 17 00:00:00 2001
From: Manuel Uberti <manuel.uberti@inventati.org>
Date: Wed, 4 Nov 2020 15:41:53 +0100
Subject: [PATCH] Fix project--files-in-directory formatting
---
lisp/progmodes/project.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 8f7482a23d..6c647a092a 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -301,8 +301,8 @@ project--files-in-directory
(split-string files)
(concat " -o " find-name-arg " "))
" "
- (shell-quote-argument ")"))"")
- )))
+ (shell-quote-argument ")"))
+ ""))))
(project--remote-file-names
(sort (split-string (shell-command-to-string command) "\0" t)
#'string<))))
--
2.25.1
next prev parent reply other threads:[~2020-11-04 14:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-04 13:26 project--files-in-directory: code formatting Manuel Uberti
2020-11-04 14:30 ` Stefan Monnier
2020-11-04 14:45 ` Manuel Uberti [this message]
2020-11-04 15:44 ` Stefan Monnier
2020-11-07 10:47 ` Andrii Kolomoiets
2020-11-07 15:16 ` Stefan Monnier
2020-11-04 19:40 ` Dmitry Gutov
2020-11-04 21:20 ` Stefan Monnier
2020-11-05 2:25 ` Dmitry Gutov
2020-11-04 18:19 ` Dmitry Gutov
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=2b0f8de5-4202-8056-2c39-94802027f8c5@inventati.org \
--to=manuel.uberti@inventati.org \
--cc=emacs-devel@gnu.org \
/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.