From: Eli Zaretskii <eliz@gnu.org>
To: Fatih Aydin <fataydin138@gmail.com>
Cc: larsi@gnus.org, 44604@debbugs.gnu.org
Subject: bug#44604: 27.1; gpg error when language environment is set to Turkish
Date: Sat, 14 Nov 2020 19:51:22 +0200 [thread overview]
Message-ID: <83361bvnc5.fsf@gnu.org> (raw)
In-Reply-To: <CAHRQZ1xcqNg5iJqOHPVRia4hVu_6rs170=6x6gnzEnMgw2+rmw@mail.gmail.com> (message from Fatih Aydin on Sat, 14 Nov 2020 17:09:54 +0000)
> From: Fatih Aydin <fataydin138@gmail.com>
> Date: Sat, 14 Nov 2020 17:09:54 +0000
> Cc: Eli Zaretskii <eliz@gnu.org>, 44604@debbugs.gnu.org
>
> Step 1: Run 'emacs -Q'
> Step 2: M-x and type 'set-language-environment'. Write the value 'Turkish'.
> Step 3: M-x and 'eww'. Try to visit 'google.com' or any website you want.
>
> That's all, you'll get a couple of 'Emergency (url): Unknown proxy directive: DIRECT'
The problem is in url-proxy.el: url-default-find-proxy-for-url returns
"DIRECT", but url-find-proxy-for-url tests for "^direct":
(cond
((string-match "^direct" proxy) nil)
url-find-proxy-for-url binds case-fold-search to t, believing that
this would take care of the case difference, but that is false for
Turkish, because under the Turkish language-environment, we get:
(downcase ?I) => ?ı
IOW, 'I' downcases into the dotless i.
Does anyone understand why url-proxy insists on using the likes of
"^direct" instead of "^DIRECT", i.e. why it doesn't match the case as
well?
next prev parent reply other threads:[~2020-11-14 17:51 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 19:44 bug#44604: 27.1; gpg error when language environment is set to Turkish Fatih Aydin
2020-11-13 8:12 ` Eli Zaretskii
2020-11-13 9:10 ` Fatih Aydin
2020-11-13 12:07 ` Eli Zaretskii
2020-11-13 14:19 ` Fatih Aydin
2020-11-14 16:39 ` Lars Ingebrigtsen
2020-11-14 17:09 ` Fatih Aydin
2020-11-14 17:51 ` Eli Zaretskii [this message]
2020-11-14 19:31 ` Fatih Aydin
2020-11-14 19:48 ` Eli Zaretskii
2020-11-15 20:52 ` Fatih Aydın
2020-11-16 16:16 ` Eli Zaretskii
2020-11-16 20:53 ` Fatih Aydin
2020-11-17 3:22 ` Eli Zaretskii
2020-12-01 11:06 ` Fatih Aydin
2020-12-02 10:07 ` Lars Ingebrigtsen
2021-04-21 11:42 ` Fatih Aydin
2021-04-25 18:58 ` Lars Ingebrigtsen
2021-04-25 19:03 ` Eli Zaretskii
2020-11-16 21:26 ` Lars Ingebrigtsen
2020-11-17 3:30 ` Eli Zaretskii
2020-11-24 5:16 ` Lars Ingebrigtsen
2020-11-24 15:20 ` Eli Zaretskii
2020-11-25 6:19 ` Lars Ingebrigtsen
2020-11-25 15:24 ` 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=83361bvnc5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=44604@debbugs.gnu.org \
--cc=fataydin138@gmail.com \
--cc=larsi@gnus.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).