unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* buffer names of files and directories merely distinguished by <2>
@ 2002-11-25 20:56 Dan Jacobson
  2002-11-25 21:09 ` D. Goel
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2002-11-25 20:56 UTC (permalink / raw)


Gentlemen, consider what happens with
C-x d somefile.txt RET v C-x C-b
You get
 MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
. % somefile.txt<2>      2448  Fundamental  ~/somefile.txt
  % somefile.txt          104  Dired by name ~/somefile.txt
That the buffer names are distinguished by a <2> and not by something
indicating say, one is a file, and/or the other a directory, is regrettable.
Sure one can find out easy enough, but it would be handy sometimes.   

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

* Re: buffer names of files and directories merely distinguished by <2>
  2002-11-25 20:56 buffer names of files and directories merely distinguished by <2> Dan Jacobson
@ 2002-11-25 21:09 ` D. Goel
  2002-11-26  2:01   ` Dan Jacobson
  0 siblings, 1 reply; 4+ messages in thread
From: D. Goel @ 2002-11-25 21:09 UTC (permalink / raw)
  Cc: bug-gnu-emacs


Dan


>  MR Buffer           Size  Mode         File
>  -- ------           ----  ----         ----
> . % somefile.txt<2>      2448  Fundamental  ~/somefile.txt
>   % somefile.txt          104  Dired by name ~/somefile.txt
> That the buffer names are distinguished by a <2> and not by something
> indicating say, one is a file, and/or the other a directory, is regrettable.
> Sure one can find out easy enough, but it would be handy sometimes.   
> 

look at uniquify.el which comes with emacs

excerpt:
,----
| 
| ;; To use this file, do (require 'uniquify)
| ;; and set uniquify-buffer-name-style to one of its non-nil
| ;; alternative values.
`----



DG                                 http://deego.gnufans.org/~deego/
--

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

* Re: buffer names of files and directories merely distinguished by <2>
  2002-11-25 21:09 ` D. Goel
@ 2002-11-26  2:01   ` Dan Jacobson
  2002-12-01 20:12     ` D. Goel
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2002-11-26  2:01 UTC (permalink / raw)


>>>>> "D" == D Goel <deego@gnufans.org> writes:

>> . % somefile.txt<2>      2448  Fundamental  ~/somefile.txt
>> % somefile.txt          104  Dired by name ~/somefile.txt

D> look at uniquify.el which comes with emacs

D> excerpt:
D> | ;; To use this file, do (require 'uniquify)
D> | ;; and set uniquify-buffer-name-style to one of its non-nil
D> | ;; alternative values.
In my http://jidanni.org/comp/emacs.txt I've used (setq
uniquify-buffer-name-style 'forward) for years, but why do I still
see the <2> upon C-x d somefile.txt RET v C-x C-b ?
-- 
http://jidanni.org/ Taiwan(04)25854780

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

* Re: buffer names of files and directories merely distinguished by <2>
  2002-11-26  2:01   ` Dan Jacobson
@ 2002-12-01 20:12     ` D. Goel
  0 siblings, 0 replies; 4+ messages in thread
From: D. Goel @ 2002-12-01 20:12 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Dan Jacobson <jidanni@dman.ddts.net> writes:

> >>>>> "D" == D Goel <deego@gnufans.org> writes:
> 
> >> . % somefile.txt<2>      2448  Fundamental  ~/somefile.txt
> >> % somefile.txt          104  Dired by name ~/somefile.txt
> 
> D> look at uniquify.el which comes with emacs
> 
> D> excerpt:
> D> | ;; To use this file, do (require 'uniquify)
> D> | ;; and set uniquify-buffer-name-style to one of its non-nil
> D> | ;; alternative values.
> In my http://jidanni.org/comp/emacs.txt I've used (setq
> uniquify-buffer-name-style 'forward) for years, but why do I still
> see the <2> upon C-x d somefile.txt RET v C-x C-b ?
> -- 


'forward works for me as expected.   viz.  I see buffernames as
tmp/foo and u/foo when a file with the same name is opened in 2
different directories. 

Did you remember to add (require 'uniquify) to your .emacs? 





DG                                 http://deego.gnufans.org/~deego/
--

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

end of thread, other threads:[~2002-12-01 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-25 20:56 buffer names of files and directories merely distinguished by <2> Dan Jacobson
2002-11-25 21:09 ` D. Goel
2002-11-26  2:01   ` Dan Jacobson
2002-12-01 20:12     ` D. Goel

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