From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Unexpected find-file behavior in Version 22.3 for Windows Date: Wed, 08 Apr 2009 18:26:18 +0300 Message-ID: <83skkj415x.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1239204617 9174 80.91.229.12 (8 Apr 2009 15:30:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2009 15:30:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 17:31:36 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LrZkL-0003Fm-HK for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 17:31:25 +0200 Original-Received: from localhost ([127.0.0.1]:35187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrZix-0004Ne-6l for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 11:29:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrZic-0004NR-BO for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 11:29:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrZib-0004NF-0D for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 11:29:37 -0400 Original-Received: from [199.232.76.173] (port=53342 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrZia-0004NC-Qj for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 11:29:36 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:64266) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrZia-0007XZ-DX for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 11:29:36 -0400 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KHS00700GA4WQ00@i-mtaout1.012.net.il> for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 18:28:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.70.19]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KHS002ZWGBAEO00@i-mtaout1.012.net.il> for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 18:28:30 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63569 Archived-At: > From: Count Dracula > 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.