From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#70725: 29.3; dired-do-touch completion Date: Mon, 06 May 2024 12:25:16 +0000 Message-ID: <87msp386vn.fsf@posteo.net> References: <871q6kkn5o.fsf@librehacker.com> <87plu38pf6.fsf@posteo.net> <86fruzjudh.fsf@gnu.org> <87fruzwetu.fsf@posteo.net> <8634qwlrii.fsf@mail.linkov.net> <87v83r8pm3.fsf@posteo.net> <86msp38lqm.fsf@mail.linkov.net> <87r0ef8cr9.fsf@posteo.net> <87seyv6ulx.fsf@igel.home> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30611"; mail-complaints-to="usenet@ciao.gmane.io" Cc: christopher@librehacker.com, Eli Zaretskii , 70725@debbugs.gnu.org, Juri Linkov To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 06 14:24:07 2024 Return-path: Envelope-to: geb-bug-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 1s3xO0-0007c3-LU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 May 2024 14:24:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3xNc-0000zi-R8; Mon, 06 May 2024 08:23:40 -0400 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 1s3xNa-0000ye-8s for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 08:23:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3xNZ-0002k8-T8 for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 08:23:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3xNx-0003UQ-O1 for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 08:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 May 2024 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70725 X-GNU-PR-Package: emacs Original-Received: via spool by 70725-submit@debbugs.gnu.org id=B70725.171499823713408 (code B ref 70725); Mon, 06 May 2024 12:24:01 +0000 Original-Received: (at 70725) by debbugs.gnu.org; 6 May 2024 12:23:57 +0000 Original-Received: from localhost ([127.0.0.1]:37787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3xNr-0003UC-UK for submit@debbugs.gnu.org; Mon, 06 May 2024 08:23:56 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:57119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3xNm-0003U4-V9 for 70725@debbugs.gnu.org; Mon, 06 May 2024 08:23:55 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F267C240029 for <70725@debbugs.gnu.org>; Mon, 6 May 2024 14:23:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714998201; bh=Uolud0X3nu2ch+Y3abZ3ViM2ocHD3IkxGAXJQ1Rqz10=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Autocrypt:OpenPGP:From; b=A7oRcperrHckFbd8z/J8OiajNWQhfCaNMVp5oJOWwMkTpyH6LDWvQ/ZsZjeZh3nKe FziqoFNMUlBo1S8Xr3FgF1qGxhO/v3HGf+IJkxN1mXCPoHVuTuMjez/pwHsZZ1uZX8 VCcFWXPYq7uFbbSE4kCoY0k0wYixreTfdEv48Cj2eGyZqU4UvF+nrZ7B/wSq310Zaq urfiaFsWPk5Nm1fx7u4CUMHX6VcC08nOQEo2+JYOkQkTwr+n0svgAt51r8SFd5ejRr hC3ig7JMpn4RhOdmD+nAdfeqWv+PJNtdUWVQMSvFB/DF5OP1EgyBkd4LQ6zno1IVjg 20Lzzl+QyPZZg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VY0tb1dlWz6txQ; Mon, 6 May 2024 14:23:18 +0200 (CEST) In-Reply-To: <87seyv6ulx.fsf@igel.home> (Andreas Schwab's message of "Mon, 06 May 2024 13:35:38 +0200") Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata=xsDNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA Ac0SdGhpZXZvbEBwb3N0ZW8ubmV0wsEOBBMBCgA4AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmL3HCoACgkQDsVtFB0W75OVEAv/f6XxmtIFz08fUb8h Bp/zJP6IC4/rhhh+0GMRIRzLN8DK0jV8JCzYdFHiRJOy2lNIOpmrrCmjRRxferc2G42+ePFIsslx hU46VSz1Z83NwIG3mpdYNV5WUTUdgzxExHTNTFCd7NKv0nlHKQaA OpenPGP: url=https://posteo.de/keys/thievol@posteo.net.asc; preference=encrypt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284574 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Andreas Schwab writes: > On Mai 06 2024, Thierry Volpiatto wrote: > >> The timestamp will be set to a few milliseconds in the past, yes, but is >> this really a problem? > > You can touch a file that you don't own, if you have write permission. > But you cannot set the time of such a file to an arbitrary value (even > if that value happens to be the current time). Thanks. However this doesn't explain why dired-do-touch uses a completing-read to complete 0 files, uses a default argument which is not used with an empty prompt and doesn't fit with the info in prompt even if the prompt is indeed right because finally the command exit with current-time. Also IIUC (I rarely use dired) when touching marked files the last file will not have the same timestamp as the first. Currently DEFAULT (if user press M-n) is only useful if one want to modify timestamp of marked files to same timestamp as current. All this seems incoherent and confusing. I have now disabled dired-do-touch in Helm. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmY4zCwTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk8qbDACZd8Op3VSS4tnykznkhmzqdS7t9aQ7 R8Z1Kv/e9JxFyFssRsswAVKbF+32/E9Lukudovw+Q8IE/zEijoqQ/egbV+6EWdim or896+o7lgPehy5pxkNrE6Q5Pi4Y4rRlKI/bitc+5Pw2Tb59QA6xJ25QHaotU+NY E8qf5Uhb0CLsd4zBSGFwjAFVjbcVFcZ0p69t8VggBTbT6u85Mw5IGbD3emH2WsKi gnTOWJPXUSRVdK8/Th6Eq8vHusssWJ4U0TO4HfC3qqB3EM1Zs8T1fs2YIA2zghHL efKdcEqrXKXiM0CmSQG2237f7mhttZqXld/a7RY+HTOhSX+X6niYJM0hfs1EZiWp 0VLj6M7OWr2mfO7fk0k7FPyIUF71EqPPOhLH3P86JwnfDjy31ruRu71yHM1Cb7ZG xSBxnJkYWQ5+VEgI52tLXNv06/TSCH+ihwtYlxv0t4zO0LK2amFFv50XmNVYGJBg dsIZjGiSqnHE5k1i8JeM9BP4tvSfgCEsHX0= =/fVI -----END PGP SIGNATURE----- --=-=-=--