unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Switching branches and TAB
@ 2013-05-30 15:57 berk.dev
  2013-05-31  5:14 ` Kevin Rodgers
  0 siblings, 1 reply; 5+ messages in thread
From: berk.dev @ 2013-05-30 15:57 UTC (permalink / raw)
  To: help-gnu-emacs

I am using ClearCase as a source control and emacs for eshell. If I pick a view (similar to changing branches) before launching emacs&, when I am typing a file path in eshell, i can press tab to finish the path name for folders and files. However, if i launch emacs& and then set the view, the ability to press tab to finsih the path name does not work for some files. This also occurs when setting to a different view in eshell.

So whenever I would want to change views, I could start up a new emacs& to avoid this problem. Is there someway around doing this?


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Switching branches and TAB
@ 2013-05-30 19:47 Barry OReilly
  2013-05-30 22:59 ` Ludwig, Mark
  0 siblings, 1 reply; 5+ messages in thread
From: Barry OReilly @ 2013-05-30 19:47 UTC (permalink / raw)
  To: help-gnu-emacs

> I am using ClearCase as a source control and emacs for eshell. If I pick
a view
> (similar to changing branches) before launching emacs&, when I am typing
a file
> path in eshell, i can press tab to finish the path name for folders and
files.
> However, if i launch emacs& and then set the view, the ability to press
tab to
> finsih the path name does not work for some files. This also occurs when
> setting to a different view in eshell.
>
> So whenever I would want to change views, I could start up a new emacs&
to
> avoid this problem. Is there someway around doing this?

I'm also in the unfortunate position of using that atrocity of a VCS.

When you set dynamic view, a new csh-like shell is started. If you started
Emacs before that, it forked from the parent shell so has no visibility of
the new shell. You could run xterm&, set view, switch to the new xterm and
find you won't see your view's files for the same reason.

I wouldn't expect any issue in snapshot views.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Switching branches and TAB
@ 2013-05-31 15:41 Barry OReilly
  0 siblings, 0 replies; 5+ messages in thread
From: Barry OReilly @ 2013-05-31 15:41 UTC (permalink / raw)
  To: help-gnu-emacs

> At the moment, I have 18 views active (each in its own xterm) with
> 12 instances of Emacs running (not running Emacs in 6 views).

I use snapshot views for the improved local filesystem IO. Also so as
timestamps don't move backwards for uncheckouts and some config spec
changes, which leads to incorrect builds for timestamp based build
systems.

Snapshot views allow a source tree for each discrete task like many
other VCSes. I use a "current" symlink to the source tree of primary
interest. If the symlink is changed, Emacs auto revert loads the new
current source tree. I also open Emacs in "non current" source trees
for secondary tasks.

> http://www.emacswiki.org/emacs/ClearCase

I tried clearcase.el but according to my notes it slowed down
initialization too much. What's useful to me is to define one command
for checking out and do the other cleartool commands from the shell.

  (lambda ()
    (interactive)
    (call-process "cleartool"
                  nil nil nil
                  "co" "-nc"
                  (buffer-file-name))
    ;; Get the new write permissions
    (revert-buffer))

> I find ClearCase more powerful than most other source code
> management systems.

I'm baffled anyone experienced with ClearCase and at least one modern
VCS could reach that conclusion.


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

end of thread, other threads:[~2013-05-31 15:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 15:57 Switching branches and TAB berk.dev
2013-05-31  5:14 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2013-05-30 19:47 Barry OReilly
2013-05-30 22:59 ` Ludwig, Mark
2013-05-31 15:41 Barry OReilly

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