unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* emacsclient/dired ignores symlinks
@ 2003-12-03  4:21 Dan Jacobson
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Jacobson @ 2003-12-03  4:21 UTC (permalink / raw)


If one does
$ cd some_dir_that_is_a_symlink
$ emacsclient some_dir
the dired buffer created has the real path of the dir, ignoring all
our symlinks.  I.e. works fine, except it refers to everything by the
real path names.

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

* Re: emacsclient/dired ignores symlinks
       [not found] <mailman.970.1070431818.399.bug-gnu-emacs@gnu.org>
@ 2003-12-03 17:55 ` Kevin Rodgers
  2003-12-21 16:46   ` Dan Jacobson
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kevin Rodgers @ 2003-12-03 17:55 UTC (permalink / raw)


Dan Jacobson wrote:

> If one does
> $ cd some_dir_that_is_a_symlink
> $ emacsclient some_dir
> the dired buffer created has the real path of the dir, ignoring all
> our symlinks.  I.e. works fine, except it refers to everything by the
> real path names.

What is the value of find-file-visit-truename?

-- 
Kevin Rodgers

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

* Re: emacsclient/dired ignores symlinks
  2003-12-03 17:55 ` emacsclient/dired ignores symlinks Kevin Rodgers
@ 2003-12-21 16:46   ` Dan Jacobson
  2003-12-21 17:06   ` describe-variable should try again with any trailing punctuation removed Dan Jacobson
       [not found]   ` <mailman.428.1072035315.868.bug-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Dan Jacobson @ 2003-12-21 16:46 UTC (permalink / raw)


>> If one does
>> $ cd some_dir_that_is_a_symlink
>> $ emacsclient some_dir
>> the dired buffer created has the real path of the dir, ignoring all
>> our symlinks.  I.e. works fine, except it refers to everything by the
>> real path names.

K> What is the value of find-file-visit-truename?

nil. So something is wrong.

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

* describe-variable should try again with any trailing punctuation removed
  2003-12-03 17:55 ` emacsclient/dired ignores symlinks Kevin Rodgers
  2003-12-21 16:46   ` Dan Jacobson
@ 2003-12-21 17:06   ` Dan Jacobson
       [not found]   ` <mailman.428.1072035315.868.bug-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Dan Jacobson @ 2003-12-21 17:06 UTC (permalink / raw)


Gentlemen, I was recently asked

K> What is the value of find-file-visit-truename?

well, I put the cursor on it and hit C-h v, and was not prompted with
its name, because of the trailing "?".

Indeed, only the last of these
find-file-visit-truename?
find-file-visit-truename.
find-file-visit-truename,
find-file-visit-truename
will get you prompted nicely.

So, brushing aside niceties like what characters are legal in variable
names, describe-variable should be more intelligent: if no match, try
again with any trailing punctuation removed.

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

* Re: emacsclient/dired ignores symlinks
       [not found]   ` <mailman.428.1072035315.868.bug-gnu-emacs@gnu.org>
@ 2003-12-22 18:21     ` Kevin Rodgers
  2003-12-26 17:37       ` Dan Jacobson
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Rodgers @ 2003-12-22 18:21 UTC (permalink / raw)


Dan Jacobson wrote:

>>>If one does
>>>$ cd some_dir_that_is_a_symlink
>>>$ emacsclient some_dir
>>>the dired buffer created has the real path of the dir, ignoring all
>>>our symlinks.  I.e. works fine, except it refers to everything by the
>>>real path names.
>>>
> 
> K> What is the value of find-file-visit-truename?
> 
> nil. So something is wrong.

What is the value of the PWD environment variable after you cd to

some_dir_that_is_a_symlink?


-- 
Kevin Rodgers

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

* Re: emacsclient/dired ignores symlinks
  2003-12-22 18:21     ` emacsclient/dired ignores symlinks Kevin Rodgers
@ 2003-12-26 17:37       ` Dan Jacobson
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Jacobson @ 2003-12-26 17:37 UTC (permalink / raw)


K> What is the value of the PWD environment variable after you cd to
K> some_dir_that_is_a_symlink?

$ echo $PWD
/home/jidanni/jidanni.org
$ emacsclient -n .
(pwd)"Directory ~/mywebsites/kalyke.affordablehost.com/public_html/"
(getenv "PWD")"/home/jidanni" #must be from initial emacs start; disregard.
(dired-smart-shell-command "echo $PWD" nil)
/home/jidanni/mywebsites/kalyke.affordablehost.com/public_html

Maybe emacsclient should note the value of $PWD when it starts instead
of determining its own or whatever.

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

end of thread, other threads:[~2003-12-26 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.970.1070431818.399.bug-gnu-emacs@gnu.org>
2003-12-03 17:55 ` emacsclient/dired ignores symlinks Kevin Rodgers
2003-12-21 16:46   ` Dan Jacobson
2003-12-21 17:06   ` describe-variable should try again with any trailing punctuation removed Dan Jacobson
     [not found]   ` <mailman.428.1072035315.868.bug-gnu-emacs@gnu.org>
2003-12-22 18:21     ` emacsclient/dired ignores symlinks Kevin Rodgers
2003-12-26 17:37       ` Dan Jacobson
2003-12-03  4:21 Dan Jacobson

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