unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: partial-completion-mode in gdba
@ 2007-03-22 16:14 A Soare
  2007-03-22 18:33 ` Stefan Monnier
  2007-03-22 21:19 ` Nick Roberts
  0 siblings, 2 replies; 9+ messages in thread
From: A Soare @ 2007-03-22 16:14 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

> > 1. Emacs -Q
> >
> > 2. partial-completion-mode
> >
> > => partial-completion-mode on
> >
> > 3. gdba
> >
> > =>Run gdba (like this): gdb -annotate=3 /g/e/ <TAB>
> >
> > comint-dynamic-complete-as-filename: Opening directory: no such file or directory, /g/e/ [2 times]
> 

This is a bug.

Not to forget about.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: partial-completion-mode in gdba
@ 2007-03-23 10:32 A Soare
  0 siblings, 0 replies; 9+ messages in thread
From: A Soare @ 2007-03-23 10:32 UTC (permalink / raw)
  To: Nick Roberts; +Cc: Emacs   Dev  [emacs-devel]

> A Soare writes:
>  > > > 1. Emacs -Q
>  > > >
>  > > > 2. partial-completion-mode
>  > > >
>  > > > => partial-completion-mode on
>  > > >
>  > > > 3. gdba
>  > > >
>  > > > =>Run gdba (like this): gdb -annotate=3 /g/e/ <TAB>
>  > > >
>  > > > comint-dynamic-complete-as-filename: Opening directory: no such file or directory, /g/e/ [2 times]
>  > > 
>  > 
>  > This is a bug.
> 
> Why do you think it's a bug?  Did it ever work for you?  I doubt it.  Partial
> completion mode seems to replace minibuffer-complete-* with PC-complete-* in
> the minibuffer keymaps but M-x gdba (and M-x gdb) uses read-from-minibuffer
> with the keymap gud-minibuffer-local-map.  TAB is bound to
> comint-dynamic-complete-filename on this keymap which is why it doesn't work as
> you expect.

It reads a file name in fact, and because partial completion is on, when I press TAB after /g/e I expect to see /gnu/emacs, because in the root of my filesystem the only one directory that starts with 'g' is gnu, and the only dir. from /gnu is emacs et cetera.

I do not think that such a feature ever existed, so I think this is not a bug, just a missing feature.

Alin Soare.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: partial-completion-mode in gdba
@ 2007-03-23 10:13 A Soare
  0 siblings, 0 replies; 9+ messages in thread
From: A Soare @ 2007-03-23 10:13 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs   Dev  [emacs-devel]

> >> > 1. Emacs -Q
> >> >
> >> > 2. partial-completion-mode
> >> >
> >> > => partial-completion-mode on
> >> >
> >> > 3. gdba
> >> >
> >> > =>Run gdba (like this): gdb -annotate=3 /g/e/ <TAB>
> >> >
> >> > comint-dynamic-complete-as-filename: Opening directory: no such file or directory, /g/e/ [2 times]
> >> 
> 
> > This is a bug.
> 
> Are you sure it's not a missing feature?

We can say so. But it is sure that it is a feature that must me present as time as partial-completion-mode is active.


A Soare

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: partial-completion-mode in gdba
@ 2007-03-21 13:00 A Soare
  0 siblings, 0 replies; 9+ messages in thread
From: A Soare @ 2007-03-21 13:00 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

> > 1. Emacs -Q
> >
> > 2. partial-completion-mode
> >
> > => partial-completion-mode on
> >
> > 3. gdba
> >
> > =>Run gdba (like this): gdb -annotate=3 /g/e/ <TAB>
> >
> > comint-dynamic-complete-as-filename: Opening directory: no such file or directory, /g/e/ [2 times]
> 
> I'm no expert, but I think this is due to the fact that running M-x
> partial-completion-mode just turns partial-completion-mode on in the
> buffer in which you run in. Try reversing the order of steps 2 and 3.
> 
> I myself have been bitten by thiss. It is annoying. I wish there were
> a global-partial-completion-mode, much as there is a
> global-reveal-mode or global-hl-line-mode.

The same error, but if reversed the error is expected. In this current form, this reported error is a bug.

Alin SOare.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* partial-completion-mode in gdba
@ 2007-03-21 12:03 A Soare
  2007-03-21 12:49 ` Denis Bueno
  0 siblings, 1 reply; 9+ messages in thread
From: A Soare @ 2007-03-21 12:03 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

1. Emacs -Q

2. partial-completion-mode

=> partial-completion-mode on

3. gdba

=>Run gdba (like this): gdb -annotate=3 /g/e/ <TAB>

comint-dynamic-complete-as-filename: Opening directory: no such file or directory, /g/e/ [2 times]

However, to me emacs is installed in /gnu/emacs, et cetera.

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

end of thread, other threads:[~2007-03-23 10:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-22 16:14 partial-completion-mode in gdba A Soare
2007-03-22 18:33 ` Stefan Monnier
2007-03-22 21:19 ` Nick Roberts
  -- strict thread matches above, loose matches on Subject: below --
2007-03-23 10:32 A Soare
2007-03-23 10:13 A Soare
2007-03-21 13:00 A Soare
2007-03-21 12:03 A Soare
2007-03-21 12:49 ` Denis Bueno
2007-03-21 14:31   ` Stefan Monnier

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