all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* iswitchb help
@ 2002-10-24  5:42 Luis Fernandes
  2002-10-24  6:33 ` Heinz Rommerskirchen
  0 siblings, 1 reply; 11+ messages in thread
From: Luis Fernandes @ 2002-10-24  5:42 UTC (permalink / raw)


I am trying out iswitchb-mode and am having a bit of a problem
switching buffers.

I have the following buffers loaded:

nu-new
nu.orig
nu-jason
nu,v
nu

and I want to switch from the current buffer to 'nu'.

C-xb nu gives:
iswitchb nu{nu-new,nu.orig,nu-jason,nu,v,nu}

nu-new is selected if I hit RET

How do I switch to the 'nu' buffer?

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

* Re: iswitchb help
  2002-10-24  5:42 iswitchb help Luis Fernandes
@ 2002-10-24  6:33 ` Heinz Rommerskirchen
  2002-10-24  7:14   ` Mac
  2002-10-24 13:29   ` Luis Fernandes
  0 siblings, 2 replies; 11+ messages in thread
From: Heinz Rommerskirchen @ 2002-10-24  6:33 UTC (permalink / raw)


Luis Fernandes <elf@ee.ryerson.ca> writes:

> C-xb nu gives:
> iswitchb nu{nu-new,nu.orig,nu-jason,nu,v,nu}
> 
> nu-new is selected if I hit RET
> 
> How do I switch to the 'nu' buffer?

Press C-s until 'nu' is the first name in the list, then RET

-- 
Regards

Heinz

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

* Re: iswitchb help
  2002-10-24  6:33 ` Heinz Rommerskirchen
@ 2002-10-24  7:14   ` Mac
  2002-10-24 13:29   ` Luis Fernandes
  1 sibling, 0 replies; 11+ messages in thread
From: Mac @ 2002-10-24  7:14 UTC (permalink / raw)


On 24 Oct 2002, Heinz Rommerskirchen wrote:
> Luis Fernandes <elf@ee.ryerson.ca> writes:
> 
>> C-xb nu gives:
>> iswitchb nu{nu-new,nu.orig,nu-jason,nu,v,nu}
>> 
>> nu-new is selected if I hit RET
>> 
>> How do I switch to the 'nu' buffer?
> 
> Press C-s until 'nu' is the first name in the list, then RET

or C-r once (since nu was located at the end) to search "backwards"

/mac

-- 
.signature: No such file or directory

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

* Re: iswitchb help
  2002-10-24  6:33 ` Heinz Rommerskirchen
  2002-10-24  7:14   ` Mac
@ 2002-10-24 13:29   ` Luis Fernandes
  2002-10-24 17:02     ` Umesh P Nair
  1 sibling, 1 reply; 11+ messages in thread
From: Luis Fernandes @ 2002-10-24 13:29 UTC (permalink / raw)


>>>>> "HR" == Heinz Rommerskirchen <Heinrich.Rommerskirchen@siemens.com> writes:

    HR> Luis Fernandes <elf@ee.ryerson.ca> writes:
    >> C-xb nu gives: iswitchb nu{nu-new,nu.orig,nu-jason,nu,v,nu}
    >> 
    >> nu-new is selected if I hit RET
    >> 
    >> How do I switch to the 'nu' buffer?

    HR> Press C-s until 'nu' is the first name in the list, then RET
Thank you.

C-s/C-r is completely illogical and unintuitive[1]. I think multiple
TAB key presses would have been more logical (like in any shell) to
cycle through the completions.

Is there a way to change this behaviour to TAB rather than C-s/C-r?

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

* Re: iswitchb help
  2002-10-24 13:29   ` Luis Fernandes
@ 2002-10-24 17:02     ` Umesh P Nair
  2002-10-26  4:41       ` Luis Fernandes
  0 siblings, 1 reply; 11+ messages in thread
From: Umesh P Nair @ 2002-10-24 17:02 UTC (permalink / raw)


>>>>> On 24 Oct 2002 09:29:17 -0400, "LuisF" == Luis Fernandes
>>>>> <elf@ee.ryerson.ca> said:

 LuisF> C-s/C-r is completely illogical and unintuitive[1]. I think
 LuisF> multiple TAB key presses would have been more logical (like in
 LuisF> any shell) to cycle through the completions.

 LuisF> Is there a way to change this behaviour to TAB rather than
 LuisF> C-s/C-r?

(add-hook 
 'iswitchb-define-mode-map-hook
 '(lambda ()
    (define-key iswitchb-mode-map [tab] 'iswitchb-next-match)))

Regards,

- Umesh

-- 
----------------------------
Umesh P Nair
Remove 'z's from my email ID
----------------------------

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

* Re: iswitchb help
  2002-10-24 17:02     ` Umesh P Nair
@ 2002-10-26  4:41       ` Luis Fernandes
  2002-10-28 20:09         ` Clemens Fischer
  2002-10-29  8:40         ` Umesh P Nair
  0 siblings, 2 replies; 11+ messages in thread
From: Luis Fernandes @ 2002-10-26  4:41 UTC (permalink / raw)


>>>>> "umesh_nazir" == Umesh P Nair <umesh_nazir@mentzor.com> writes:

    umesh_nazir> (add-hook 'iswitchb-define-mode-map-hook '(lambda ()
    umesh_nazir> (define-key iswitchb-mode-map [tab]
    umesh_nazir> 'iswitchb-next-match)))

I'm sorry but this does not work for me (Emacs 21). After I hit TAB
the *Completions Buffer* appears and subsequest TAB hits do nothing.

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

* Re: iswitchb help
  2002-10-26  4:41       ` Luis Fernandes
@ 2002-10-28 20:09         ` Clemens Fischer
  2002-10-29  8:40         ` Umesh P Nair
  1 sibling, 0 replies; 11+ messages in thread
From: Clemens Fischer @ 2002-10-28 20:09 UTC (permalink / raw)


Luis Fernandes <elf@ee.ryerson.ca>:

>>>>>> "umesh_nazir" == Umesh P Nair <umesh_nazir@mentzor.com> writes:
>
>     umesh_nazir> (add-hook 'iswitchb-define-mode-map-hook '(lambda ()
>     umesh_nazir> (define-key iswitchb-mode-map [tab]
>     umesh_nazir> 'iswitchb-next-match)))
>
> I'm sorry but this does not work for me (Emacs 21). After I hit TAB
> the *Completions Buffer* appears and subsequest TAB hits do nothing.

you're right.  same here.  as a "work around" you can always use the
iswitchb-mode keys C-s to switch forward through the list of matching
buffers or C-r for the backward direction.

to get more serious, you'd have to examine the source code for this
mode.  i'd first look at the buffer-mode local key map and the entries
therein.  the code-snippet itself looks plausible, something like this
should be possible to work out.

clemens

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

* Re: iswitchb help
  2002-10-26  4:41       ` Luis Fernandes
  2002-10-28 20:09         ` Clemens Fischer
@ 2002-10-29  8:40         ` Umesh P Nair
  2002-10-30 15:15           ` Luis Fernandes
  1 sibling, 1 reply; 11+ messages in thread
From: Umesh P Nair @ 2002-10-29  8:40 UTC (permalink / raw)


>>>>> On 26 Oct 2002 00:41:07 -0400, "LF" == Luis Fernandes
>>>>> <elf@ee.ryerson.ca> said:

>>>>> "umesh_nazir" == Umesh P Nair <umesh_nazir@mentzor.com> writes:
 umesh_nazir> (add-hook 'iswitchb-define-mode-map-hook '(lambda ()
 umesh_nazir> (define-key iswitchb-mode-map [tab]
 umesh_nazir> 'iswitchb-next-match)))

 LF> I'm sorry but this does not work for me (Emacs 21). After I hit
 LF> TAB the *Completions Buffer* appears and subsequest TAB hits do
 LF> nothing.

It works for me.  What are the versions of emacs and iswitchb.el you
use?

My details:

Emacs version    : GNU Emacs 21.2.1. built on Solaris 2.6 from sources
iswitchb version : 21.1 (that comes with Emacs 21.2.1)

Here are the comments from iswitchb.el:

;; To modify the keybindings, use the hook provided.  For example:
;;(add-hook 'iswitchb-define-mode-map-hook
;;	  'iswitchb-my-keys)
;;
;;(defun iswitchb-my-keys ()
;;  "Add my keybindings for iswitchb."
;;  (define-key iswitchb-mode-map " " 'iswitchb-next-match)
;;  )
;;

Hope this helps.

- Umesh

-- 
----------------------------
Umesh P Nair
Remove 'z's from my email ID
----------------------------

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

* Re: iswitchb help
  2002-10-29  8:40         ` Umesh P Nair
@ 2002-10-30 15:15           ` Luis Fernandes
  2002-10-31  4:49             ` Umesh P Nair
  0 siblings, 1 reply; 11+ messages in thread
From: Luis Fernandes @ 2002-10-30 15:15 UTC (permalink / raw)


I'm running 21.0.106.1 (this was the Emacs 21 pre-test) and the
iswitchb that come with it (there is no versioning information in the
iswitchb.el file).

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

* Re: iswitchb help
  2002-10-30 15:15           ` Luis Fernandes
@ 2002-10-31  4:49             ` Umesh P Nair
  2002-11-01 14:57               ` Luis Fernandes
  0 siblings, 1 reply; 11+ messages in thread
From: Umesh P Nair @ 2002-10-31  4:49 UTC (permalink / raw)


>>>>> On 30 Oct 2002 10:15:54 -0500, "LuisF" == Luis Fernandes
>>>>> <elf@ee.ryerson.ca> said:

 LuisF> I'm running 21.0.106.1 (this was the Emacs 21 pre-test) and
 LuisF> the iswitchb that come with it (there is no versioning
 LuisF> information in the iswitchb.el file).

It is on Line 250 of the iswitchb.el I have:

,----[ Code (Elisp) ]
| (defcustom iswitchb-mode nil
|   "Toggle Iswitchb mode.
| Setting this variable directly does not take effect;
| use either \\[customize] or the function `iswitchb-mode'."
|   :set (lambda (symbol value)
| 	 (iswitchb-mode (or value 0)))
|   :initialize 'custom-initialize-default
|   :group 'iswitchb
|   :require 'iswitchb
|   :version "21.1"        <====  HERE !
|   :type 'boolean)
`----

Regards,

- Umesh

-- 
----------------------------
Umesh P Nair
Remove 'z's from my email ID
----------------------------

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

* Re: iswitchb help
  2002-10-31  4:49             ` Umesh P Nair
@ 2002-11-01 14:57               ` Luis Fernandes
  0 siblings, 0 replies; 11+ messages in thread
From: Luis Fernandes @ 2002-11-01 14:57 UTC (permalink / raw)


>>>>> "un" == Umesh P Nair <umesh_nazir@mentzor.com> writes:

    un> :version "21.1" <==== HERE ! 

That's twhat my version says.

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

end of thread, other threads:[~2002-11-01 14:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-24  5:42 iswitchb help Luis Fernandes
2002-10-24  6:33 ` Heinz Rommerskirchen
2002-10-24  7:14   ` Mac
2002-10-24 13:29   ` Luis Fernandes
2002-10-24 17:02     ` Umesh P Nair
2002-10-26  4:41       ` Luis Fernandes
2002-10-28 20:09         ` Clemens Fischer
2002-10-29  8:40         ` Umesh P Nair
2002-10-30 15:15           ` Luis Fernandes
2002-10-31  4:49             ` Umesh P Nair
2002-11-01 14:57               ` Luis Fernandes

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.