unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How do I enter a 'œ'?
@ 2014-09-02  9:36 Alan Schmitt
  2014-09-02 13:08 ` Alan Schmitt
  2014-09-03 18:05 ` Marcin Borkowski
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Schmitt @ 2014-09-02  9:36 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

Hello,

My keyboard layout lets me input the 'œ' character directly, but it does
not work with emacs. Starting a fresh (-Q) instance, and doing "C-h k œ"
gives me:


C-@ runs the command set-mark-command, which is an interactive
compiled Lisp function in `simple.el'.

It is bound to C-@, C-SPC.


Why is emacs interpreting that keystroke as C-@?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

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

* Re: How do I enter a 'œ'?
  2014-09-02  9:36 How do I enter a 'œ'? Alan Schmitt
@ 2014-09-02 13:08 ` Alan Schmitt
  2014-09-03 18:05 ` Marcin Borkowski
  1 sibling, 0 replies; 6+ messages in thread
From: Alan Schmitt @ 2014-09-02 13:08 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

On 2014-09-02 11:36, Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> Why is emacs interpreting that keystroke as C-@?

I found the issue, and it is not emacs. As a mea culpa, here is the
source of the bug.

A long time ago, I experimented with system level key bindings for Cocoa
applications (I'm using OS X, see
http://brettterpstra.com/2014/08/20/keybindings-that-everyone-should-have/
for a recent description of such bindings). In my configuration file,
I had this:

  "~o" = (moveToEndOfParagraph:, insertNewline:);

which means "when Alt and o are pressed together, insert a line after
the current paragraph". And the letter I wanted to input (œ) was done so
using Alt and o. The system intercepted this key combination, and
replaced it with a sequence of events that resulted in C-@ being
received by emacs.

Sorry for the noise,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

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

* Re: How do I enter a 'œ'?
       [not found] ` <7zlhq2qi3e.fsf@example.com>
@ 2014-09-03  6:57   ` Gian Uberto Lauri
  2014-09-03  7:54     ` Alan Schmitt
  0 siblings, 1 reply; 6+ messages in thread
From: Gian Uberto Lauri @ 2014-09-03  6:57 UTC (permalink / raw)
  To: help-gnu-emacs

 > Alan Schmitt <alan.schmitt@polytechnique.org> writes:
 > 
 > in the subject line  How do I enter a 'œ'?
 > 

Excuse my ignorance, which language this ligature belongs to?

Maybe setting the input method (M-x set-input-method) to that language
may help, i.e. using german-postfix as input method allows writing ß
by pressing s and then z (an help is displayed in the message line),
with spanish-postfix ¡ is made pressing ! and then /.

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     già sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO



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

* Re: How do I enter a 'œ'?
  2014-09-03  6:57   ` Gian Uberto Lauri
@ 2014-09-03  7:54     ` Alan Schmitt
  2014-09-03  8:03       ` Gian Uberto Lauri
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Schmitt @ 2014-09-03  7:54 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

On 2014-09-03 08:57, "Gian Uberto Lauri" <saint@eng.it> writes:

>  > Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>  > 
>  > in the subject line  How do I enter a 'œ'?
>  > 
>
> Excuse my ignorance, which language this ligature belongs to?

French.

> Maybe setting the input method (M-x set-input-method) to that language
> may help, i.e. using german-postfix as input method allows writing ß
> by pressing s and then z (an help is displayed in the message line),
> with spanish-postfix ¡ is made pressing ! and then /.

The question was: the keyboard is sending this letter, why isn't emacs
displaying it? And the answer was: emacs actually did not get the
letter, there was another system-level process that was intercepting
it. Removing that process fixed the issue.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

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

* Re: How do I enter a 'œ'?
  2014-09-03  7:54     ` Alan Schmitt
@ 2014-09-03  8:03       ` Gian Uberto Lauri
  0 siblings, 0 replies; 6+ messages in thread
From: Gian Uberto Lauri @ 2014-09-03  8:03 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: help-gnu-emacs

Alan Schmitt writes:
 > On 2014-09-03 08:57, "Gian Uberto Lauri" <saint@eng.it> writes:
 > 
 > > Excuse my ignorance, which language this ligature belongs to?
 > 
 > French.

Thanks!

 > The question was: the keyboard is sending this letter, why isn't emacs
 > displaying it? And the answer was: emacs actually did not get the
 > letter, there was another system-level process that was intercepting
 > it. Removing that process fixed the issue.

Glad to hear that your problem is gone.

Anyway, as an emergency tool, the input method "french-postfix" allows
to enter œ by typing o and then /.

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     già sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO



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

* Re: How do I enter a 'œ'?
  2014-09-02  9:36 How do I enter a 'œ'? Alan Schmitt
  2014-09-02 13:08 ` Alan Schmitt
@ 2014-09-03 18:05 ` Marcin Borkowski
  1 sibling, 0 replies; 6+ messages in thread
From: Marcin Borkowski @ 2014-09-03 18:05 UTC (permalink / raw)
  To: help-gnu-emacs

Dnia 2014-09-02, o godz. 11:36:31
Alan Schmitt <alan.schmitt@polytechnique.org> napisał(a):

> Hello,
> 
> My keyboard layout lets me input the 'œ' character directly, but it
> does not work with emacs. Starting a fresh (-Q) instance, and doing
> "C-h k œ" gives me:

Just for the record, probably the coolest trick to do this:

M-x set-input-method TeX RET
\ o e

If you know even a small bit of LaTeX, playing with the TeX input
method is quite fun - if I want to have some arrows, or ≠, or ⊂, or ∈,
or ∫, or ⊆, or ♣ etc., it is easiest for me to hit C-\ - I have TeX
input method as the default - and type the (La)TeX command.  Then I
disable the input method with another C-\ (it can be annoying, too!),
and continue.  (This input method also works with accented letters and
who knows what else!)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



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

end of thread, other threads:[~2014-09-03 18:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02  9:36 How do I enter a 'œ'? Alan Schmitt
2014-09-02 13:08 ` Alan Schmitt
2014-09-03 18:05 ` Marcin Borkowski
     [not found] <mailman.8091.1409650622.1147.help-gnu-emacs@gnu.org>
     [not found] ` <7zlhq2qi3e.fsf@example.com>
2014-09-03  6:57   ` Gian Uberto Lauri
2014-09-03  7:54     ` Alan Schmitt
2014-09-03  8:03       ` Gian Uberto Lauri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).