• Superscript problem

    From db@dieterhansbritz@gmail.com to gnu.emacs.help on Fri Apr 7 11:56:09 2023
    From Newsgroup: gnu.emacs.help

    I just upgraded to Kubuntu 22.04 (coming from 18.04) and emacs
    is not behaving as it did before. When I try to get a
    superscript, for example x^2, I type in the x, then try for the
    hat. Before, when I did that and followed with the 2 (or
    anything else) I got that superscripted. Now I get a new tiny
    window seen here:
    www.dieterbritz.dk/Screenshot_20230407_112249.png
    but nothing I do gets me the superscript. Sometimes it appears
    elsewhere on the page instead of where my cursor is.

    Is this bug or a feature? If the latter, how do I use it,
    what do I have to do to get the superscript?
    --
    Dieter Britz
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From =?utf-8?Q?G=C4=B3s_Hillenius?=@gijs@hillenius.net to gnu.emacs.help on Fri Apr 7 12:12:55 2023
    From Newsgroup: gnu.emacs.help

    On 7 April 2023 11:56 db, wrote:

    I just upgraded to Kubuntu 22.04 (coming from 18.04) and emacs
    is not behaving as it did before. When I try to get a
    superscript, for example x^2, I type in the x, then try for the
    hat. Before, when I did that and followed with the 2 (or
    anything else) I got that superscripted. Now I get a new tiny
    window seen here:
    www.dieterbritz.dk/Screenshot_20230407_112249.png
    but nothing I do gets me the superscript. Sometimes it appears
    elsewhere on the page instead of where my cursor is.

    Is this bug or a feature? If the latter, how do I use it,
    what do I have to do to get the superscript?

    Are you doing "X^2" or "X C-x 8^2"? The latter gives me: X#

    thanks to iso-trans.el, part of Emacs. See here: https://www.emacswiki.org/emacs/TypographicalPunctuationMarks


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From db@dieterhansbritz@gmail.com to gnu.emacs.help on Fri Apr 7 15:23:34 2023
    From Newsgroup: gnu.emacs.help

    On 07.04.2023 12.12, G-|s Hillenius wrote:
    On 7 April 2023 11:56 db, wrote:

    I just upgraded to Kubuntu 22.04 (coming from 18.04) and emacs
    is not behaving as it did before. When I try to get a
    superscript, for example x^2, I type in the x, then try for the
    hat. Before, when I did that and followed with the 2 (or
    anything else) I got that superscripted. Now I get a new tiny
    window seen here:
    www.dieterbritz.dk/Screenshot_20230407_112249.png
    but nothing I do gets me the superscript. Sometimes it appears
    elsewhere on the page instead of where my cursor is.

    Is this bug or a feature? If the latter, how do I use it,
    what do I have to do to get the superscript?

    Are you doing "X^2" or "X C-x 8^2"? The latter gives me: X-#

    thanks to iso-trans.el, part of Emacs. See here: https://www.emacswiki.org/emacs/TypographicalPunctuationMarks


    I'm trying to write x^2 but it won't let me. I have now
    produced a small file containing "x^{..} x_{...}" which
    I can insert when I want super- or subscripts. This will
    help but it's roundabout and should not be necessary.
    --
    Dieter Britz

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From USEnet@jvromans@squirrel.nl to gnu.emacs.help on Fri Apr 7 17:38:40 2023
    From Newsgroup: gnu.emacs.help

    On Fri, 7 Apr 2023 11:56:09 +0200, db <dieterhansbritz@gmail.com> wrote:
    Now I get a new tiny window seen here: www.dieterbritz.dk/Screenshot_20230407_112249.png
    I fail to see it but...
    If you get a small window somewhere then it is not Emacs, but your desktop environment that is intervening. Often the desktop environment will let you define 'hot' keys that do something special.
    As a general suggestion: all modern desktop environments allow the use of combining keys (compose keys, multi-keys). For example ^ 2 will yield ^ 2
    (as it should), but multi-key ^ 2 will yield -# (superscript 2).
    Major advantage over Emacs' typopunct.el cs. is that this works in *all* windows, not only in Emacs.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Cecil Westerhof@Cecil@decebal.nl to gnu.emacs.help on Sat Apr 8 00:36:43 2023
    From Newsgroup: gnu.emacs.help

    USEnet <jvromans@squirrel.nl> writes:

    On Fri, 7 Apr 2023 11:56:09 +0200, db <dieterhansbritz@gmail.com> wrote:

    As a general suggestion: all modern desktop environments allow the use of combining keys (compose keys, multi-keys). For example ^ 2 will yield ^ 2
    (as it should), but multi-key ^ 2 will yield -# (superscript 2).

    I thought it would be possible, but did mot know how. Thanks.
    Is there also something for subscript?
    --
    Cecil Westerhof
    Senior Software Engineer
    LinkedIn: http://www.linkedin.com/in/cecilwesterhof
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From USEnet@jvromans@squirrel.nl to gnu.emacs.help on Sat Apr 8 10:06:10 2023
    From Newsgroup: gnu.emacs.help

    On Sat, 08 Apr 2023 00:36:43 +0200, Cecil Westerhof <Cecil@decebal.nl>
    wrote:

    I thought it would be possible, but did mot know how. Thanks.
    Is there also something for subscript?

    Your XCompose file will reveal all the details :).

    It is usually /usr/share/X11/locale/en_US.UTF-8/Compose but may depend on
    your distro.

    (And, to answer your question, it is Compose underscore 2 ).

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Cecil Westerhof@Cecil@decebal.nl to gnu.emacs.help on Sat Apr 8 18:01:21 2023
    From Newsgroup: gnu.emacs.help

    USEnet <jvromans@squirrel.nl> writes:

    On Sat, 08 Apr 2023 00:36:43 +0200, Cecil Westerhof <Cecil@decebal.nl>
    wrote:

    I thought it would be possible, but did mot know how. Thanks.
    Is there also something for subscript?

    Your XCompose file will reveal all the details :).

    It is usually /usr/share/X11/locale/en_US.UTF-8/Compose but may depend on your distro.

    (And, to answer your question, it is Compose underscore 2 ).

    Thanks. I have something to keep me out of my sleep. ;-)
    --
    Cecil Westerhof
    Senior Software Engineer
    LinkedIn: http://www.linkedin.com/in/cecilwesterhof
    --- Synchronet 3.21d-Linux NewsLink 1.2