GNU bug report logs - #44604
27.1; gpg error when language environment is set to Turkish

Previous Next

Package: emacs;

Reported by: Fatih Aydin <fataydin138 <at> gmail.com>

Date: Fri, 13 Nov 2020 00:30:02 UTC

Severity: normal

Tags: fixed

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Fatih Aydin <fataydin138 <at> gmail.com>
Cc: larsi <at> gnus.org, 44604 <at> 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
> From: Fatih Aydin <fataydin138 <at> gmail.com>
> Date: Sat, 14 Nov 2020 17:09:54 +0000
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 44604 <at> 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?




This bug report was last modified 4 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.