From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] new single file package: mpdired.el Date: Fri, 08 Mar 2024 12:17:56 +0100 Message-ID: <878r2tug4b.fsf@ledu-giraud.fr> References: <87o7bpul9s.fsf@ledu-giraud.fr> <87frx158b3.fsf@posteo.net> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23254"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Manuel Giraud via "Emacs development discussions." To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 08 12:19:12 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 1riYFr-0005oS-LA for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Mar 2024 12:19:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riYF2-000755-G1; Fri, 08 Mar 2024 06:18:24 -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 1riYEk-0006r5-Sh for emacs-devel@gnu.org; Fri, 08 Mar 2024 06:18:03 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riYEi-0002yb-OT for emacs-devel@gnu.org; Fri, 08 Mar 2024 06:18:02 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=hHcbbqE7 Z3YUF5kfLltP+dXO3jG8ausXdFW1WgVGSgM=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=OooFd+LalIOO1IxJ6jkiR8/SCMsHQ6 43uRNP+XrmZ++aXWTqJDjis3Ct2pU/hKz9Fl7D8kzVM/NLHjXIK2H7DQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=hHcbbqE7Z3YUF5kf LltP+dXO3jG8ausXdFW1WgVGSgM=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=gyqZwak5BgfC24HBl14oW9IitnKDkFvs9/ezJB DvqjuVXjGH09jx0g+4o9xbpj/s6edZ3p+YYrfjsi0vIK+N8hPVPA8accSxNBJ/uBEz1vkc 5qC8glpU1s/c765pZpTaTSUsqkVYVAneidTVii7K4Cch2HDa8q6NuSdOlqmuDWsF/CG3ao j4ZB/Q86b0yjdJw4wqW2IkxxC9GdxLUCl7jnZ3pkepai4Icy+DZhW2uA03Eu89lV3sSaJV 6RBo9oyhbsD9CnUg1PGavYuB/HO83R/1BRUxk7wnadZaUfIZrW2CrFo5J8IIXAzHTYbFrh /MZMrZnplGyc0saVNFQC4ang== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id ab5dcfd7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 8 Mar 2024 12:17:57 +0100 (CET) In-Reply-To: <87frx158b3.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 08 Mar 2024 10:25:52 +0000") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:316896 Archived-At: Philip Kaludercic writes: Hi Philip, First thanks for your all your inputs! [...] > In the end a Git repository will have to be created. I don't think one > should have to be ashamed of the commit history (most people won't > care), but it is also fine to discard the current history and replace it > with a fresh repository. Ok. Maybe I'll start with a fresh history if I feel like it. > By default, we would like to mirror some external repository. It > doesn't have to be hosted by some large Git forge, just something that > can be synchronised regularly. The alternative to this would be to have > a branch in elpa.git that would have to be manually updated (either by > yourself if you get access to the repository, or by someone here on the > mailing list with access that would see your message). You can imagine > that we want to avoid the latter setup, since it creates more > friction. Of course, I'd also like to avoid this latter setup. Just to be sure, you confirm that a git repo is unavoidable? Could it be a just tarball available on web server? > From experience, it is usually helpful to have a Git repository with > multiple files, for files like a README or an .elpaignore file or if you > decide to split up the file into multiple files at some point. Yes, you're right maybe I'd like to add a texinfo later for instance. > If you dislike Github, you could also take a look at Sourcehut or > Codeberg for hosting. Ok. If a git forge is mandatory, I'll ponder which one I'd prefer to use. >> Anyway for the braves and curious, here is the current version of this >> package. It is called MPDired and is yet another client to Music Player >> Daemon. It features a Dired-like user interface. Previously I was a >> Mingus user so MPDired might have some legacy to it. > > Here some comments For the rest of your comments inline, I'll just ask on those I don't understand. [...] >> "n" #'mpdired-next-line >> "" #'mpdired-next-line > > Perhaps one could also rebind a few commands here, like `next-line'. I don't understand what you mean here. [...] >> (defun mpdired-change-marks (&optional old new) >> "Changes mark from OLD to NEW. It asks the user for OLD and NEW." >> (interactive >> (let* ((cursor-in-echo-area t) >> (old (progn (message "Change (old mark): ") (read-char))) >> (new (progn (message "Change %c marks to (new mark): " old) >> (read-char)))) > > Why not use read-char's PROMPT argument? I did not know about it and it is copy-pasto from dired ;-) Thanks. -- Manuel Giraud