From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Edmondson Newsgroups: gmane.emacs.bugs Subject: bug#22603: 24.5; `mml2015-epg-check-user-id' uses `equal' to compare strings Date: Mon, 08 Feb 2016 22:06:30 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454969237 15055 80.91.229.3 (8 Feb 2016 22:07:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 22:07:17 +0000 (UTC) To: 22603@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 23:07:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aStxd-00049k-Lw for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 23:07:09 +0100 Original-Received: from localhost ([::1]:49260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStxd-0005e7-56 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 17:07:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStxY-0005dz-2c for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:07:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aStxW-000437-76 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:07:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStxW-000433-3G for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aStxV-0007ya-Uj for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Edmondson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22603 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145496920730635 (code B ref -1); Mon, 08 Feb 2016 22:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2016 22:06:47 +0000 Original-Received: from localhost ([127.0.0.1]:60582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aStxG-0007y2-LW for submit@debbugs.gnu.org; Mon, 08 Feb 2016 17:06:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59193) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aStxE-0007xo-TP for submit@debbugs.gnu.org; Mon, 08 Feb 2016 17:06:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aStx7-0003z3-IK for submit@debbugs.gnu.org; Mon, 08 Feb 2016 17:06:39 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStx7-0003yy-FP for submit@debbugs.gnu.org; Mon, 08 Feb 2016 17:06:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStx5-0005cC-Lm for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:06:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aStx3-0003yc-Q0 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:06:35 -0500 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:38390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStx3-0003yL-Dr for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:06:33 -0500 Original-Received: by mail-wm0-x22d.google.com with SMTP id p63so135186393wmp.1 for ; Mon, 08 Feb 2016 14:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:from:date:message-id:mime-version:content-type; bh=B+qurGin7K9HHfqFbPPl6nAL77mCAnUEyCKigJj89cs=; b=IJ+RQWM/yeOoQynpSTrV6FCdVM7ZS9c4qMzdCc/sxFZtfrSWQ6m5356Z1Ade6p4rY6 7QzarJSam1/5ElDFPF0Bwh42pM3SjPM9C9NzEykDSNNFCsv3YsEDXqMYNFF/xj23dGal t5TMkwt8fBfklIG5+AWTUwQ1UI4GA8fSG3Bw6Ih/t/nJivMfT1rJOXnZzOluWoL7lHIZ OeV187aLzY5O1kAuGf6Q3rIrdUN5lbr2qSYr/kOie5ax8/zNPuZnEvC2d/64614WonGJ i3VcL/h3MFg5ci/Ko/qI9RfNcsTLvqdXKXKXtEl6X+uYHIFby8bVtu+yfZUYzm/Zczt6 tbjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:from:date:message-id:mime-version :content-type; bh=B+qurGin7K9HHfqFbPPl6nAL77mCAnUEyCKigJj89cs=; b=iZjbT1gfVzEqNCf//d3c2IfASwaPG2MaRyuESU03AKQPclDyvdbvkgkwd1uJLqEj5y uLGSgcvVRD4o1NXKDaoyMEXsEEtxqaC5jhywLS5Nl1s9p0/7eRF6rQxcTV42Z13SPRwy s3jRVrhHUxLevVdQ/jB6DWw3KBoRo1WVkazaguhoiVWiAzYw1CaGmpG5WDzo5ZeF+oqV SgOjsfhlv141utTph3zh0f6gY55hPy2BEFuASspCa+bUQFbhqUXAPH4M5xXj5nqPTqPg OKnH+pNO1t6yslzueUhL2RaY2lUgadj3voNiRvgXVNAxP65O06qUdEKzCYXuhXTZweZI pGhw== X-Gm-Message-State: AG10YOTqyfPHzKqqqzKpctSVBB9tWLqWa1TmF6yPC/fXPf0Jsh0DRppHTtnigBIeu0XEHQ== X-Received: by 10.28.210.143 with SMTP id j137mr997064wmg.13.1454969192488; Mon, 08 Feb 2016 14:06:32 -0800 (PST) Original-Received: from disaster-area.hh.sledj.net ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) by smtp.gmail.com with ESMTPSA id i5sm31596193wja.23.2016.02.08.14.06.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 14:06:31 -0800 (PST) Original-Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id b69025f5; Mon, 8 Feb 2016 22:06:30 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112752 Archived-At: When testing whether or not a particular OpenPGP key is a match for an email recipient the domain part should be checked case-insensitively (i.e. "dme@dme.org" should match "dme@DME.ORG"). Because `mml2015-epg-check-user-id' uses `equal' to perform the comparison, this is not what happens. It's arguable whether or not "dme@dme.org" should match "DME@dme.org" (i.e. should the local part be checked case-insensitively or not). >From a usability perspective, it seems more useful to compare the complete strings in a case-insensitive manner. In GNU Emacs 24.5.1 (x86_64-apple-darwin15.0.0, NS apple-appkit-1404.11) of 2015-10-05 on heart-of-gold Windowing system distributor `Apple', version 10.3.1404 Configured using: `configure --prefix=/usr/local/Cellar/emacs/24.5 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-ns --disable-ns-self-contained' Important settings: locale-coding-system: utf-8-unix Major mode: notmuch-search Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode) S))) magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t TeX-PDF-mode: t ido-vertical-mode: t ido-everywhere: t shell-dirtrack-mode: t erc-track-mode: t erc-track-minor-mode: t erc-spelling-mode: t erc-ring-mode: t erc-netsplit-mode: t erc-list-mode: t erc-fill-mode: t erc-pcomplete-mode: t erc-autojoin-mode: t erc-match-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-keep-place-mode: t erc-move-to-prompt-mode: t hl-line-mode: t diff-auto-refine-mode: t show-paren-mode: t pdf-occur-global-minor-mode: t winner-mode: t icomplete-mode: t override-global-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Window Switching Mode On... Window Switching Mode Off. Mark set [4 times] Sending... Mark set [4 times] Sending via mail... Sending...done Mark set [7 times] command-execute: Command attempted to use minibuffer while in minibuffer Mark set [2 times] Load-path shadows: /Users/dme/.emacs.d/elpa/magit-20160117.2129/magit-popup hides /Users/dme/.emacs.d/elpa/magit-popup-20160117.1513/magit-popup /Users/dme/.emacs.d/elpa/let-alist-1.0.4/let-alist hides /usr/local/share/emacs/site-lisp/let-alist/let-alist /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-virtual hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-virtual /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-view hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-view /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-util hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-util /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-tools hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-tools /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-sync hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-sync /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-outline hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-outline /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-occur hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-occur /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-misc hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-misc /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-links hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-links /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-isearch hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-isearch /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-info hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-info /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-history hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-history /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-dev hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-dev /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-cache hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-cache /Users/dme/.emacs.d/elpa/pdf-tools-20151224.1159/pdf-annot hides /usr/local/share/emacs/site-lisp/pdf-tools/pdf-annot /Users/dme/.emacs.d/elpa/tablist-20150618.2218/tablist hides /usr/local/share/emacs/site-lisp/tablist/tablist /Users/dme/.emacs.d/elpa/tablist-20150618.2218/tablist-filter hides /usr/local/share/emacs/site-lisp/tablist/tablist-filter /Users/dme/.emacs.d/elpa/emms-20151211.1153/tq hides /usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/emacs-lisp/tq Features: (shadow emacsbug edebug mail-status flow-fill gnus-fun git-rebase nndoc debbugs-gnu debbugs soap-client warnings xml eieio-opt speedbar sb-image ezimage dframe smiley gnus-cite gnus-async gnus-bcklg gnus-ml disp-table nnfolder nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-cache gnus-topic utf-7 nnimap utf7 netrc nnnil nntp mailto nnir filladapt nnmairix nnml vc-annotate tramp-cache epa-file epa derived epg whitespace log-view cc-langs grep linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff magit-core magit-autorevert magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit with-editor async-bytecomp async tramp-sh tramp tramp-compat tramp-loaddefs trampver dash apropos man texmathp preview prv-emacs tex-buf font-latex latex tex-style tex tex-mode latexenc wdired win-switch windmove tabify image-file erc-log descr-text iso-transl help-mode cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs cal-iso view parse-time smerge-mode conf-mode pcmpl-unix smex ido-vertical-mode ido log-edit pcvs-util add-log vc vc-dispatcher sh-script smie executable shell vc-git url-http url-gw url-auth url-queue url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf gnus-art gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems pdf-sync pdf-annot pdf-outline pdf-links pdf-history misearch multi-isearch dired-aux autorevert filenotify url-handlers ffap sendmail mm-archive mm-uu mml2015 nnheader mail-extr sort org-table org-element org-indent org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view org-bibtex bibtex org-bbdb org-w3m org-notmuch org-protocol org-capture org-location-google-maps org-agenda google-maps google-maps-static url-util url-parse url-vars google-maps-geocode google-maps-base json org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func company-files company-oddmuse company-keywords company-etags etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company pcase qp gnutls network-stream starttls tls erc-track erc-spelling erc-ring erc-netsplit erc-list erc-fill erc-pcomplete pcomplete erc-join erc-match erc-stamp erc-goodies erc erc-backend erc-compat auth-source gnus-util shr-color color shr browse-url notmuch-config notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm server paren pdf-occur ibuf-ext ibuffer tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio eieio-core mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools compile comint ansi-color cus-edit cus-start cus-load pdf-view mule-util bookmark pp jka-compr pdf-cache pdf-info tq pdf-util image-mode cl-macs notmuch-jump notmuch-hello notmuch-mua notmuch-address notmuch-company notmuch-parser wid-edit notmuch-lib cl gv mm-view mml-smime smime password-cache dig mailcap message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader footnote cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs markdown-mode thingatpt noutline outline paredit flyspell ispell git-annex byte-opt advice winner ring icomplete finder-inf eldoc help-fns edmacro kmacro dired exec-path-from-shell use-package diminish bytecomp byte-compile cl-extra cconv bind-key easy-mmode cl-loaddefs cl-lib tex-site info easymenu package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 2377794 268545) (symbols 48 163363 0) (miscs 40 12390 20188) (strings 32 370453 60168) (string-bytes 1 60105795) (vectors 16 79621) (vector-slots 8 2041040 142286) (floats 8 25653 2430) (intervals 56 216242 3568) (buffers 960 349))