unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* pwd equivalent command
@ 2002-09-26 20:49 Bryan W. Lepore
  2002-09-26 20:59 ` Bryan W. Lepore
  0 siblings, 1 reply; 7+ messages in thread
From: Bryan W. Lepore @ 2002-09-26 20:49 UTC (permalink / raw)


is there a "pwd" equivalent in emacs that doesn't require opening up a new
shell or using the mouse, preferably showing the result in the mode line?

the best i can figure to use is "C-x d" to start to go to a new directory,
and then quit it with "C-g" but that starts to get annoying if you're 
jumping around a lot.

thanks

-bryan

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

* Re: pwd equivalent command
  2002-09-26 20:49 Bryan W. Lepore
@ 2002-09-26 20:59 ` Bryan W. Lepore
  0 siblings, 0 replies; 7+ messages in thread
From: Bryan W. Lepore @ 2002-09-26 20:59 UTC (permalink / raw)


> is there a "pwd" equivalent in emacs that doesn't require opening up a new
> shell or using the mouse, preferably showing the result in the mode line?

yes - try "M-x pwd"  

sorry.

-bryan

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

* Re: pwd equivalent command
       [not found] <mailman.1033073447.2911.help-gnu-emacs@gnu.org>
@ 2002-09-26 23:30 ` Kevin Rodgers
  2002-09-27 16:19   ` Richard V. Molen
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Rodgers @ 2002-09-26 23:30 UTC (permalink / raw)


Bryan W. Lepore wrote:

> is there a "pwd" equivalent in emacs that doesn't require opening up a new
> shell or using the mouse,


C-h v default-directory RET

> preferably showing the result in the mode line?


See mode-line-format and mode-line-buffer-identification.


-- 
<a href="mailto:&lt;kevinr&#64;ihs.com&gt;">Kevin Rodgers</a>

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

* Re: pwd equivalent command
  2002-09-26 23:30 ` pwd equivalent command Kevin Rodgers
@ 2002-09-27 16:19   ` Richard V. Molen
  2002-09-27 18:47     ` Kevin Rodgers
  2002-09-28 16:11     ` Ole Laursen
  0 siblings, 2 replies; 7+ messages in thread
From: Richard V. Molen @ 2002-09-27 16:19 UTC (permalink / raw)


Kevin Rodgers <kevinr@ihs.com> writes:

> Bryan W. Lepore wrote:
> 
> > is there a "pwd" equivalent in emacs that doesn't require opening up a new
> > shell or using the mouse,
> 
> 
> C-h v default-directory RET
> 
> > preferably showing the result in the mode line?
> 
> 
> See mode-line-format and mode-line-buffer-identification.
> 
> 
> -- 
> <a href="mailto:&lt;kevinr&#64;ihs.com&gt;">Kevin Rodgers</a>
> 

The M-x pwd is interesting.  A quick key version is C-x C-f followed
by C-g.

-- 
Richard V. Molen

Warning!!
Signature under construction, safety glasses required.

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

* Re: pwd equivalent command
  2002-09-27 16:19   ` Richard V. Molen
@ 2002-09-27 18:47     ` Kevin Rodgers
  2002-09-28 16:11     ` Ole Laursen
  1 sibling, 0 replies; 7+ messages in thread
From: Kevin Rodgers @ 2002-09-27 18:47 UTC (permalink / raw)


Richard V. Molen wrote:

> The M-x pwd is interesting.  A quick key version is C-x C-f followed
> by C-g.


(global-set-key "\C-c!" 'pwd)

-- 
<a href="mailto:&lt;kevinr&#64;ihs.com&gt;">Kevin Rodgers</a>

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

* Re: pwd equivalent command
  2002-09-27 16:19   ` Richard V. Molen
  2002-09-27 18:47     ` Kevin Rodgers
@ 2002-09-28 16:11     ` Ole Laursen
  2002-09-29  5:48       ` Richard V. Molen
  1 sibling, 1 reply; 7+ messages in thread
From: Ole Laursen @ 2002-09-28 16:11 UTC (permalink / raw)


rvmolen@bambecksystems.com (Richard V. Molen) writes:
> The M-x pwd is interesting.  A quick key version is C-x C-f followed
> by C-g.

Unless you're using (ffap-bindings), which is very cool, and happen to
have the cursor placed above an URL or a filename. 

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/

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

* Re: pwd equivalent command
  2002-09-28 16:11     ` Ole Laursen
@ 2002-09-29  5:48       ` Richard V. Molen
  0 siblings, 0 replies; 7+ messages in thread
From: Richard V. Molen @ 2002-09-29  5:48 UTC (permalink / raw)


Ole Laursen <olau@hardworking.dk> writes:

> rvmolen@bambecksystems.com (Richard V. Molen) writes:
> > The M-x pwd is interesting.  A quick key version is C-x C-f followed
> > by C-g.
> 
> Unless you're using (ffap-bindings), which is very cool, and happen to
> have the cursor placed above an URL or a filename. 

Yes that could prove difficult since C-x C-f is would open such a file.
ffap is indeed cool -- I use it in a custom mouse pop-up menu.

-- 
Richard V. Molen

Warning!!
Signature under construction, safety glasses required.

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

end of thread, other threads:[~2002-09-29  5:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1033073447.2911.help-gnu-emacs@gnu.org>
2002-09-26 23:30 ` pwd equivalent command Kevin Rodgers
2002-09-27 16:19   ` Richard V. Molen
2002-09-27 18:47     ` Kevin Rodgers
2002-09-28 16:11     ` Ole Laursen
2002-09-29  5:48       ` Richard V. Molen
2002-09-26 20:49 Bryan W. Lepore
2002-09-26 20:59 ` Bryan W. Lepore

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