Re: Re: Keyboard Shortcuts Acting on Multiple Files

Adam Fialkov <[email protected]> Tue, 28 Sep 2010 10:30:14 -0700 (PDT)
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
I made CMD-D "show log entry", and it seems to work no problem.

 -





________________________________
From: Jens Miltner <[email protected]>
To: [email protected]
Sent: Mon, September 27, 2010 12:24:42 AM
Subject: Re: [cvsgui] Re: Keyboard Shortcuts Acting on Multiple Files


Am 24.09.2010 um 19:28 schrieb sundevil67:

> 
> Thanks so much for your help. After looking more closely at the problem now (in 
>the past it was definitely deploying all files, but it is possible one of the 
>tweaks I made to the keyboard layout (using a Windows keyboard) may have 
>affected this....so now, while it isn't deploying all of the files, it is 
>"tagging" every file or directory that exists in the active window. So when I 
>hit "CMD-B", with the file "team_frontoffice.jsp" selected, I get the following 
>output:
> -----------------
> [2010/09/24 12:58:26] [9246 on cms01-dc2] Done: 
>/cms/prod/tools/cvs_stuff/taginfo_handler.pl. See 
>/cms/tmp/CronRunner/ofile.cms01-dc2.fetcvs.9246 for details.
> T team_frontoffice.jsp
> cvs tag: Tagging .
> cvs tag: Tagging exec_bios
> cvs tag: Tagging exec_images
> -----------------
> 
> Selecting this option from the menu will just deploy the file, which is what I 
>want to do...so I guess I just have to figure out how to stop it from tagging 
>each item. Maybe there is a conflicting keyboard shortcut...is there anything 
>that happens with CTRL-B?
> 

IIRC, the shortcuts specified in the macros' source files are ignored on Mac OS 
X. Also, since cmd-B will actually trigger your macro, there cannot be a 
conflict in the shortcut assignment, since only one menu item will ever own a 
shortcut (i.e. pressing a shortcut key-combo will never trigger more than one 
menu item).

I'm still not sure what's going on - will have to get some debugging going, 
which means digging out my old PowerPC computer :(

In the meantime, can you try what happens if you assing a shortcut to the Macros 
> CVS > "Show log entry" menu item?
This is what I used for a quick test and while I got ridiculous execution times, 
it appeared that the command only applied to the single selected file...
I'd be interested to hear what happens for you when you do the exact same test.

Thanks,
</jum>


> 
> Thanks again.
> 
> - sundevil67
> 
> --- In [email protected], Jens Miltner <jum@...> wrote:
> >
> > 
> > Am 22.09.2010 um 18:41 schrieb sundevil67:
> > 
> > > It is a shortcut I created using the OS X system preferences.
> > > Here is a screenshot: http://tinyurl.com/2emxdte
> > > 
> > 
> > I understand how you set up the key binding, but you also mentioned in our 
>original post that the macro is applied to all files in the directory, whereas 
>in my test, it's actually just applied to a single file, but it just takes an 
>awful lot of time to complete, for some reason (I tried with the "Show log 
>entry" built-in macro).
> > 
> > Does it really apply to all files (i.e. when you choose "Deploy to Beta+QA", 
>are actually all files deployed)? Or does it just seem like it does because it 
>takes such a long time?
> > Can you please try with the "Show log entry" macro, which dumps the current 
>log entry into MacCvsX's console window - this way you'll see which files it 
>applies to?
> > 
> > 
> > </jum>
> > 
> > 
> > > 
> > > If I pry open the Macro file with a text editor, the shortcut attached to 
>it is CTRL-B, pertaining of course to the windows version...but of course this 
>doesn't translate to the Mac, so I created my own shortcut. Any ideas would be 
>appreciated!
> > > 
> > > - sundevil67
> > > 
> > > --- In [email protected], Jens Miltner <jum@> wrote:
> > > >
> > > > 
> > > > Am 21.09.2010 um 18:42 schrieb sundevil67:
> > > > 
> > > > > Mac OS X 10.5.8
> > > > > Mac CVS 3.3b2
> > > > 
> > > > Just tried on Mac OS X 10.6 and it seems to only apply to a single file 
>there, but execution takes an awful lot longer than when selecting the menu item 
>with the mouse. Not sure what's going on...
> > > > Would need to do some debugging on a PowerPC machine, but don't hold your 
>breath - this may take a while until I get to it :(
> > > > 
> > > > Can you elaborate a bit more what exactly you observed?
> > > > What command did you try?
> > > > 
> > > > </jum>
> > > > 
> > > > 
> > > > > 
> > > > > --- In [email protected], Jens Miltner <jum@> wrote:
> > > > > >
> > > > > > 
> > > > > > Am 20.09.2010 um 20:53 schrieb sundevil67:
> > > > > > 
> > > > > > > Hi All,
> > > > > > > I've set up keyboard shortcuts to activate certain Macros I've 
>added, and for some reason when I use them, they apply to all of the files in 
>the directory I have open in the active window rather than just the file that is 
>selected. This of course makes them useless! Does anyone know of a way to make 
>sure this doesn't happen, and that the action only applies to a single, selected 
>file?
> > > > > > 
> > > > > > Which platform are you on?
> > > > > > 
> > > > > > </jum>
> > > >
> > > 
> > > 
> > 
> > Jens Miltner
> > jum@...
> > 
> > --
> > /* drunk.. fix later */
> > 
> > 
> > 
> > 
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
> 
> 

Jens Miltner
[email protected]

--
Never attach a 12V/1A power supply to a 3V/5mA chip. It releases the magic smoke 
that makes it go.




[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links





[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/cvsgui/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/