all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gtk-port: Underscore in filenames becomes menu "shortkey"
@ 2003-05-02  8:12 Joachim Nilsson
  2003-05-02 12:22 ` Jan D.
  0 siblings, 1 reply; 2+ messages in thread
From: Joachim Nilsson @ 2003-05-02  8:12 UTC (permalink / raw)


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.


Regards
 /Joachim

--  
Joachim Nilsson  :: <joachim AT vmlinux DOT org>
+46-(0)21-123348 :: <http://joachim.vmlinux.org>

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

* Re: gtk-port: Underscore in filenames becomes menu "shortkey"
  2003-05-02  8:12 gtk-port: Underscore in filenames becomes menu "shortkey" Joachim Nilsson
@ 2003-05-02 12:22 ` Jan D.
  0 siblings, 0 replies; 2+ messages in thread
From: Jan D. @ 2003-05-02 12:22 UTC (permalink / raw)
  Cc: emacs-devel

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

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

end of thread, other threads:[~2003-05-02 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-02  8:12 gtk-port: Underscore in filenames becomes menu "shortkey" Joachim Nilsson
2003-05-02 12:22 ` Jan D.

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.