unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50323: 27.2; dired-do-touch documentation improvement
@ 2021-09-01 12:30 joshua
  2021-09-02  7:49 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: joshua @ 2021-09-01 12:30 UTC (permalink / raw)
  To: 50323


In section 30.7 of the emacs manual the line about dired-do-touch
doesn't really reflect what the function does (dired-do-touch doesn't
change the time to the present time, but rather to the timestamp given,
which by default is the modification time of the file)

"Touch the specified files (dired-do-touch). This means updating their
modification times to the present time. This is like the shell command
touch."

Rather, to fit in with the other lines I'd reccomend

"Touch the specified files (dired-do-touch). This means updating their
modification times to /timestamp/. This is like the shell command
touch."


Would just send a patch, but can't be bothered working out how to
contribute, apologies!

Joshua





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50323: 27.2; dired-do-touch documentation improvement
  2021-09-01 12:30 bug#50323: 27.2; dired-do-touch documentation improvement joshua
@ 2021-09-02  7:49 ` Lars Ingebrigtsen
  2021-09-02 15:52   ` Juri Linkov
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-02  7:49 UTC (permalink / raw)
  To: joshua; +Cc: 50323

joshua@joshuao.com writes:

> Rather, to fit in with the other lines I'd reccomend
>
> "Touch the specified files (dired-do-touch). This means updating their
> modification times to /timestamp/. This is like the shell command
> touch."

Thanks; now updated to this in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50323: 27.2; dired-do-touch documentation improvement
  2021-09-02  7:49 ` Lars Ingebrigtsen
@ 2021-09-02 15:52   ` Juri Linkov
  2021-09-02 16:03     ` Lars Ingebrigtsen
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Juri Linkov @ 2021-09-02 15:52 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: joshua, 50323

>> Rather, to fit in with the other lines I'd reccomend
>>
>> "Touch the specified files (dired-do-touch). This means updating their
>> modification times to /timestamp/. This is like the shell command
>> touch."
>
> Thanks; now updated to this in Emacs 28.

It seems the original text tried to say that dired-do-touch
defaults to the present time when RET is typed in the minibuffer,
and indeed it prompt says " (default now): ".





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50323: 27.2; dired-do-touch documentation improvement
  2021-09-02 15:52   ` Juri Linkov
@ 2021-09-02 16:03     ` Lars Ingebrigtsen
  2021-09-02 16:08     ` Eli Zaretskii
  2021-09-03 10:51     ` Joshua O'Connor
  2 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-02 16:03 UTC (permalink / raw)
  To: Juri Linkov; +Cc: joshua, 50323

Juri Linkov <juri@linkov.net> writes:

> It seems the original text tried to say that dired-do-touch
> defaults to the present time when RET is typed in the minibuffer,
> and indeed it prompt says " (default now): ".

Yes, but I don't think that has to be stated in the Emacs manual -- it's
obvious enough when you execute the command.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50323: 27.2; dired-do-touch documentation improvement
  2021-09-02 15:52   ` Juri Linkov
  2021-09-02 16:03     ` Lars Ingebrigtsen
@ 2021-09-02 16:08     ` Eli Zaretskii
  2021-09-03 10:51     ` Joshua O'Connor
  2 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2021-09-02 16:08 UTC (permalink / raw)
  To: Juri Linkov; +Cc: joshua, larsi, 50323

> From: Juri Linkov <juri@linkov.net>
> Date: Thu, 02 Sep 2021 18:52:52 +0300
> Cc: joshua@joshuao.com, 50323@debbugs.gnu.org
> 
> >> "Touch the specified files (dired-do-touch). This means updating their
> >> modification times to /timestamp/. This is like the shell command
> >> touch."
> >
> > Thanks; now updated to this in Emacs 28.
> 
> It seems the original text tried to say that dired-do-touch
> defaults to the present time when RET is typed in the minibuffer,
> and indeed it prompt says " (default now): ".

Thanks, fixed.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50323: 27.2; dired-do-touch documentation improvement
  2021-09-02 15:52   ` Juri Linkov
  2021-09-02 16:03     ` Lars Ingebrigtsen
  2021-09-02 16:08     ` Eli Zaretskii
@ 2021-09-03 10:51     ` Joshua O'Connor
  2 siblings, 0 replies; 6+ messages in thread
From: Joshua O'Connor @ 2021-09-03 10:51 UTC (permalink / raw)
  To: Juri Linkov, Lars Ingebrigtsen; +Cc: 50323

Juri Linkov <juri@linkov.net> writes:

> It seems the original text tried to say that dired-do-touch
> defaults to the present time when RET is typed in the minibuffer,
> and indeed it prompt says " (default now): ".

Ah, perhaps I have some configuration difference then.
For me the prompt says " (default ORIGINAL_TIMESTAMP) ", which I just
assumed was the default behaviour.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-03 10:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 12:30 bug#50323: 27.2; dired-do-touch documentation improvement joshua
2021-09-02  7:49 ` Lars Ingebrigtsen
2021-09-02 15:52   ` Juri Linkov
2021-09-02 16:03     ` Lars Ingebrigtsen
2021-09-02 16:08     ` Eli Zaretskii
2021-09-03 10:51     ` Joshua O'Connor

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).