unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] ibuffer.el cannot deal with (consp dired-directory)
@ 2005-05-09 13:31 Daniel Brockman
  2005-05-09 15:45 ` John Paul Wallington
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Brockman @ 2005-05-09 13:31 UTC (permalink / raw)
  Cc: John Paul Wallington

M-: (dired '("/" "/bin/sh")) RET M-x ibuffer RET BANG.

I can only think of the following obvious fix.

2005-05-09  Daniel Brockman  <daniel@brockman.se>

	* ibuffer.el (define-ibuffer-column filename):
	If `dired-directory' is a list, use its car.

*** ibuffer.el	09 Feb 2005 16:50:42 +0100	1.66
--- ibuffer.el	09 May 2005 15:08:29 +0200	
***************
*** 1688,1694 ****
      (abbreviate-file-name
       (or buffer-file-name
  	 (and (boundp 'dired-directory)
! 	      dired-directory)
  	 ""))))
  
  (define-ibuffer-column filename-and-process
--- 1688,1696 ----
      (abbreviate-file-name
       (or buffer-file-name
  	 (and (boundp 'dired-directory)
! 	      (if (stringp dired-directory)
! 		  dired-directory
! 		(car dired-directory)))
  	 ""))))
  
  (define-ibuffer-column filename-and-process


-- 
Daniel Brockman <daniel@brockman.se>

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

* Re: [PATCH] ibuffer.el cannot deal with (consp dired-directory)
  2005-05-09 13:31 [PATCH] ibuffer.el cannot deal with (consp dired-directory) Daniel Brockman
@ 2005-05-09 15:45 ` John Paul Wallington
  0 siblings, 0 replies; 2+ messages in thread
From: John Paul Wallington @ 2005-05-09 15:45 UTC (permalink / raw)
  Cc: emacs-devel

Daniel Brockman wrote:

> M-: (dired '("/" "/bin/sh")) RET M-x ibuffer RET BANG.
> 
> I can only think of the following obvious fix.

Thanks for the report and your fix.

I will install a fix after I get Internet connectivity in my new flat.
That should happen sometime this week.

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

end of thread, other threads:[~2005-05-09 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 13:31 [PATCH] ibuffer.el cannot deal with (consp dired-directory) Daniel Brockman
2005-05-09 15:45 ` John Paul Wallington

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