unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* dired-do-touch
@ 2007-08-23 15:07 Sean Sieger
  2007-08-23 15:36 ` dired-do-touch Peter Dyballa
  2007-08-23 17:39 ` dired-do-touch Sean Sieger
  0 siblings, 2 replies; 11+ messages in thread
From: Sean Sieger @ 2007-08-23 15:07 UTC (permalink / raw)
  To: help-gnu-emacs

In GNU Emacs 23.0.0.5 (i686-pc-linux-gnu, GTK+ Version 2.10.11) of
2007-07-31, when I do

T

in a dired buffer, dired prompts to change timestamp.  Is something
wrong with my build or configuration of GNU Emacs?

Thank you.

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

* Re: dired-do-touch
       [not found] <mailman.5195.1187881677.32220.help-gnu-emacs@gnu.org>
@ 2007-08-23 15:23 ` Sven Joachim
  2007-08-23 17:43   ` dired-do-touch Sean Sieger
  0 siblings, 1 reply; 11+ messages in thread
From: Sven Joachim @ 2007-08-23 15:23 UTC (permalink / raw)
  To: help-gnu-emacs

Sean Sieger <sean.sieger@gmail.com> writes:

> In GNU Emacs 23.0.0.5 (i686-pc-linux-gnu, GTK+ Version 2.10.11) of
> 2007-07-31, when I do
>
> T
>
> in a dired buffer, dired prompts to change timestamp.

Yes.

>  Is something
> wrong with my build or configuration of GNU Emacs?

I don't think so.  What did you expect 'T' to do?

Sven

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

* Re: dired-do-touch
  2007-08-23 15:07 dired-do-touch Sean Sieger
@ 2007-08-23 15:36 ` Peter Dyballa
       [not found]   ` <4135e3e50708231035pbc95223m8988de9677ec3c4c@mail.gmail.com>
  2007-08-23 17:39 ` dired-do-touch Sean Sieger
  1 sibling, 1 reply; 11+ messages in thread
From: Peter Dyballa @ 2007-08-23 15:36 UTC (permalink / raw)
  To: Sean Sieger; +Cc: help-gnu-emacs


Am 23.08.2007 um 17:07 schrieb Sean Sieger:

> when I do
>
> T
>
> in a dired buffer, dired prompts to change timestamp.  Is something
> wrong with my build or configuration of GNU Emacs?

No. What do you expect?

--
Greetings

   Pete

Mac OS X is like a wigwam: no fences, no gates, but an apache inside.

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

* Re: dired-do-touch
  2007-08-23 15:07 dired-do-touch Sean Sieger
  2007-08-23 15:36 ` dired-do-touch Peter Dyballa
@ 2007-08-23 17:39 ` Sean Sieger
  1 sibling, 0 replies; 11+ messages in thread
From: Sean Sieger @ 2007-08-23 17:39 UTC (permalink / raw)
  To: help-gnu-emacs

Sean Sieger <sean.sieger@gmail.com> writes:

   In GNU Emacs 23.0.0.5 (i686-pc-linux-gnu, GTK+ Version 2.10.11) of
   2007-07-31, when I do

   T

   in a dired buffer, dired prompts to change timestamp.

Um, I see this is expected.  Sorry.

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

* Re: dired-do-touch
  2007-08-23 15:23 ` dired-do-touch Sven Joachim
@ 2007-08-23 17:43   ` Sean Sieger
  0 siblings, 0 replies; 11+ messages in thread
From: Sean Sieger @ 2007-08-23 17:43 UTC (permalink / raw)
  To: help-gnu-emacs

Sven Joachim <svenjoac@gmx.de> writes:

   What did you expect 'T' to do?

Thank you for asking.  I was looking for a one-key key-binding in dired
to create a file in the current directory.

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

* Re: dired-do-touch
       [not found]   ` <4135e3e50708231035pbc95223m8988de9677ec3c4c@mail.gmail.com>
@ 2007-08-23 18:06     ` Peter Dyballa
       [not found]     ` <mailman.5210.1187892398.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Dyballa @ 2007-08-23 18:06 UTC (permalink / raw)
  To: Sean Sieger; +Cc: GNU Emacs List


Am 23.08.2007 um 19:35 schrieb Sean Sieger:

> I expected that
>
> T <RET> filename <RET>
>
> would create a file.

Dired works only on existing files. And directories. Although there  
is an exception ... see below!

> Is C-x C-f the only way to create a new file in dired or is there a  
> one-key key-binding?

No. You can use *shell* or such buffers to create new files, you can  
copy or rename, or in dired-mode:

	! t o u c h SPC <file name>

>
> On a different note, do you use bookmarks extensively?

No. And neither intensively. Not at all, for short.

--
Greetings

   Pete

Math illiteracy affects 7 out of every 5 Americans.

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

* Re: dired-do-touch
@ 2007-08-23 20:06 martin rudalics
  2007-08-23 22:35 ` dired-do-touch Sean Sieger
  0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2007-08-23 20:06 UTC (permalink / raw)
  To: sean.sieger; +Cc: help-gnu-emacs

 > I was looking for a one-key key-binding in dired
 > to create a file in the current directory.

If you don't like the binding for T try

(define-key dired-mode-map "T" 'find-file)

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

* Re: dired-do-touch
  2007-08-23 20:06 dired-do-touch martin rudalics
@ 2007-08-23 22:35 ` Sean Sieger
  0 siblings, 0 replies; 11+ messages in thread
From: Sean Sieger @ 2007-08-23 22:35 UTC (permalink / raw)
  To: help-gnu-emacs

martin rudalics <rudalics@gmx.at> writes:

   If you don't like the binding for T try

   (define-key dired-mode-map "T" 'find-file)

Perfect, in fact, I used `t'.

Thank you, you guys, for your patience with me, I like living in GNU
Emacs.  `Self-documenting' is becoming a practical feature for me, even
though it may not show from my initial question.  I don't split my
frames much but that is changing with a lot more C-h m.

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

* Re: dired-do-touch
       [not found]     ` <mailman.5210.1187892398.32220.help-gnu-emacs@gnu.org>
@ 2007-08-24  6:32       ` Fabian Braennstroem
  2007-08-24 16:44         ` dired-do-touch Sean Sieger
       [not found]         ` <mailman.5260.1187973928.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: Fabian Braennstroem @ 2007-08-24  6:32 UTC (permalink / raw)
  To: help-gnu-emacs



Peter Dyballa schrieb am 08/23/2007 06:06 PM:
> Am 23.08.2007 um 19:35 schrieb Sean Sieger:
> 
>> I expected that
>>
>> T <RET> filename <RET>
>>
>> would create a file.
> 
> Dired works only on existing files. And directories. Although there  
> is an exception ... see below!
> 
>> Is C-x C-f the only way to create a new file in dired or is there a  
>> one-key key-binding?
> 
> No. You can use *shell* or such buffers to create new files, you can  
> copy or rename, or in dired-mode:
> 
> 	! t o u c h SPC <file name>
> 
>> On a different note, do you use bookmarks extensively?
> 
> No. And neither intensively. Not at all, for short.

I use it a lot and it is great; first I used a small macro
to jump to the directories and since yesterday
evening:

     (define-key dired-mode-map "1"
       (lambda ()
         (interactive)
         (bookmark-jump "bookmark name")))

which is a lot faster :-)

Regards!
Fabian

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

* Re: dired-do-touch
  2007-08-24  6:32       ` dired-do-touch Fabian Braennstroem
@ 2007-08-24 16:44         ` Sean Sieger
       [not found]         ` <mailman.5260.1187973928.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: Sean Sieger @ 2007-08-24 16:44 UTC (permalink / raw)
  To: help-gnu-emacs

Fabian Braennstroem <f.braennstroem@gmx.de> writes:

   I use it a lot and it is great; first I used a small macro
   to jump to the directories and since yesterday
   evening:

        (define-key dired-mode-map "1"
          (lambda ()
            (interactive)
            (bookmark-jump "bookmark name")))

   which is a lot faster :-)

I watched that thread as well as looked at explicit `bookmark' threads
back to 2002.  A question that I formulated regarding the above binding
is, why not `j', does the function dired-goto-file serve you well?  C-x
C-f is so reflexive, after a day in GNU Emacs, I do C-x C-f to get to
the shower.

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

* Re: dired-do-touch
       [not found]         ` <mailman.5260.1187973928.32220.help-gnu-emacs@gnu.org>
@ 2007-08-24 21:15           ` Fabian Braennstroem
  0 siblings, 0 replies; 11+ messages in thread
From: Fabian Braennstroem @ 2007-08-24 21:15 UTC (permalink / raw)
  To: help-gnu-emacs

Hi Sean,

Sean Sieger schrieb am 08/24/2007 04:44 PM:
> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> 
>    I use it a lot and it is great; first I used a small macro
>    to jump to the directories and since yesterday
>    evening:
> 
>         (define-key dired-mode-map "1"
>           (lambda ()
>             (interactive)
>             (bookmark-jump "bookmark name")))
> 
>    which is a lot faster :-)
> 
> I watched that thread as well as looked at explicit `bookmark' threads
> back to 2002.  A question that I formulated regarding the above binding
> is, why not `j', does the function dired-goto-file serve you well?  C-x
> C-f is so reflexive, after a day in GNU Emacs, I do C-x C-f to get to
> the shower.

I am not really getting it, but I have around 15 dired
bookmarks using 1-9 and a combination with Control; j, h, l
, k I, g, G , H I use for navigation ( I was a vim user :-) )
Greetings!
Fabian

> 
> 

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

end of thread, other threads:[~2007-08-24 21:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23 15:07 dired-do-touch Sean Sieger
2007-08-23 15:36 ` dired-do-touch Peter Dyballa
     [not found]   ` <4135e3e50708231035pbc95223m8988de9677ec3c4c@mail.gmail.com>
2007-08-23 18:06     ` dired-do-touch Peter Dyballa
     [not found]     ` <mailman.5210.1187892398.32220.help-gnu-emacs@gnu.org>
2007-08-24  6:32       ` dired-do-touch Fabian Braennstroem
2007-08-24 16:44         ` dired-do-touch Sean Sieger
     [not found]         ` <mailman.5260.1187973928.32220.help-gnu-emacs@gnu.org>
2007-08-24 21:15           ` dired-do-touch Fabian Braennstroem
2007-08-23 17:39 ` dired-do-touch Sean Sieger
     [not found] <mailman.5195.1187881677.32220.help-gnu-emacs@gnu.org>
2007-08-23 15:23 ` dired-do-touch Sven Joachim
2007-08-23 17:43   ` dired-do-touch Sean Sieger
  -- strict thread matches above, loose matches on Subject: below --
2007-08-23 20:06 dired-do-touch martin rudalics
2007-08-23 22:35 ` dired-do-touch Sean Sieger

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).