[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected find-file behavior in Version 22.3 for Windows
From: |
Eli Zaretskii |
Subject: |
Re: Unexpected find-file behavior in Version 22.3 for Windows |
Date: |
Wed, 08 Apr 2009 18:26:18 +0300 |
> From: Count Dracula <Levent.Kitis@navy.mil>
> Date: Wed, 8 Apr 2009 06:01:22 -0700 (PDT)
>
> Under Linux, if find-file is invoked while the cursor is in a buffer
> called
> /opt/foo/bar/textfile.txt
> the text offered for completion in the minibuffer area is
> /opt/foo/bar/
> but in a newly installed Windows (Vista Home) version 22.3, the
> minibuffer area always shows the home directory ~/.
That's not what I see. Does this happen for you even in "emacs -Q"?
> Also in cc-mode in the Windows version 22.3, the line indentation
> function is bound to
> C-c C-q and this works fine, but I would like to bind it to the tab
> key. The C-d key is also bound to some function or other, and I need
> it to be bound to delete-region.
You will need to customize your Emacs in the .emacs file.
> I thought I could make these changes in the c-mode-hook function, but
> what I tried was apparently not the way to do it. Could someone post
> the lisp code I need for these changes?
I think you want c-mode-common-hook. If that does not work, show here
your Lisp, and someone will help you get it right.