From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: gtk-port: Underscore in filenames becomes menu "shortkey" Date: Fri, 2 May 2003 14:22:32 +0200 (CEST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305021336.h42DaHbL022640@stubby.bodenonline.com> References: <20030502081248.GB29852@vmlinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1051879725 26530 80.91.224.249 (2 May 2003 12:48:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 May 2003 12:48:45 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 02 14:48:44 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BZy0-0006tl-00 for ; Fri, 02 May 2003 14:48:44 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19BZzY-0002rq-00 for ; Fri, 02 May 2003 14:50:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BZvy-0003lD-09 for emacs-devel@quimby.gnus.org; Fri, 02 May 2003 08:46:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19BZvf-0003fM-00 for emacs-devel@gnu.org; Fri, 02 May 2003 08:46:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19BZv8-0002zn-00 for emacs-devel@gnu.org; Fri, 02 May 2003 08:45:48 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BZuz-0002R2-00 for emacs-devel@gnu.org; Fri, 02 May 2003 08:45:37 -0400 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h42DaHbL022640; Fri, 2 May 2003 15:36:17 +0200 In-Reply-To: <20030502081248.GB29852@vmlinux.org> "from Joachim Nilsson at May 2, 2003 10:12:48 am" Original-To: Joachim Nilsson X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13623 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13623 > Hi! > > > Opening files, both from the command line and the with file selector(s), > with underscore(s) '_' in the name creates GTK+ "shortcut keys" in the > Buffers menu. E.g., my_file.c becomes myfile.c with the 'f' underscored > here -----------------------------------^ in the pulldown menu. > > I was looking for a way to fix this by escaping underscores in the GTK+ > port, bu I couldn't find a neat way to do this for both cases: command > line filenames and files opened with xg_get_file_name(), so I gave up. I've fixed this. Menu navigation with keys don't work in Emacs anyway, there needs to be a general (i.e. for all toolkits) way to do this. Jan D.