unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: Michael Maurer <maurer.michael@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: German quotation marks?
Date: Tue, 30 Apr 2024 14:11:19 +0200	[thread overview]
Message-ID: <864jbjcajh.fsf@p200300d6272f17850b27304eb886326a.dip0.t-ipconnect.de> (raw)
In-Reply-To: <CAH-0+bD16XZbDvx+ihYwP9SKSwOzkOdT1ygvZXSEPGnBLwixUQ@mail.gmail.com> (Michael Maurer's message of "Tue, 30 Apr 2024 13:47:41 +0200")

On Tue, Apr 30 2024, Michael Maurer wrote:
> When I'm writing in German, I need to quote like „Test“ instead of
> "Test". Any way to accomplish this in Emacs? Tried googling "German
> quotation marks", but that's probably not the right way to describe
> it.

Ddg-ing "Emacs German quotation marks" brings up
https://www.emacswiki.org/emacs/TypographicalPunctuationMarks, which seems to
have some helpful information, though some of it looks outdated.

You should probably check out electric-quote-mode, which isn't directly set up
to use German quotes, but it looks like it can easily be configured to do so.

Another option might be to modify an input method, esp. if you happen to use one
already. For example, this is what I do to add some emoji to latin-9-prefix:

```
(with-temp-buffer
  (activate-input-method "latin-9-prefix")
  (let ((quail-current-package (assoc "latin-9-prefix" quail-package-alist)))
    (quail-define-rules ((append . t))
                        (";)" ?😉)
                        (":]" ?😬)
                        ("8)" ?🥴)
                        (":|" ?😐)
                        (":/" ?😕)
                        (":(" ?😠)
                        ("X)" ?😵)
                        (":{" ?😦)
                        (">)" ?😈)
                        (";(" ?😢)
                        (":D" ?😀)
                        ("O)" ?😇)
                        (":)" ?🙂)
                        (":C" ?😼)
                        )))
```

HTH

-- 
Joost Kremers
Life has its moments



  reply	other threads:[~2024-04-30 12:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 11:47 German quotation marks? Michael Maurer
2024-04-30 12:11 ` Joost Kremers [this message]
2024-04-30 12:14 ` Tim Landscheidt
2024-04-30 12:24   ` Michael Maurer
2024-04-30 12:37 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=864jbjcajh.fsf@p200300d6272f17850b27304eb886326a.dip0.t-ipconnect.de \
    --to=joostkremers@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    --cc=maurer.michael@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).