From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#52038: Completion for user mailcap entries Date: Sat, 01 Oct 2022 12:12:55 +0200 Message-ID: <874jwnj1i0.fsf@gnus.org> References: <864k842vh7.fsf@gnu.org> <87czbkevs3.fsf@gnus.org> <86h70o80ws.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11485"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 52038@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 01 12:14:39 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeZW1-0002pm-Lk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 12:14:37 +0200 Original-Received: from localhost ([::1]:40248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeZW0-00086T-JF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 06:14:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeZVT-00085G-Vk for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 06:14:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeZVS-0001Xj-Ms for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 06:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeZVS-0001ZX-Hf for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 06:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 10:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52038 X-GNU-PR-Package: emacs Original-Received: via spool by 52038-submit@debbugs.gnu.org id=B52038.16646191865953 (code B ref 52038); Sat, 01 Oct 2022 10:14:02 +0000 Original-Received: (at 52038) by debbugs.gnu.org; 1 Oct 2022 10:13:06 +0000 Original-Received: from localhost ([127.0.0.1]:43723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZUX-0001Xx-Me for submit@debbugs.gnu.org; Sat, 01 Oct 2022 06:13:06 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:37642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeZUW-0001XB-GT for 52038@debbugs.gnu.org; Sat, 01 Oct 2022 06:13:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ivqU4XeaA7hVo0PFYcSzavnzzmb+ZCz6yoGFxQ0d/nM=; b=bQQL8TenxCs2u+R8pYPeMZYvn+ 0+2NslzoK1ptwIt+HZ3pvnvpfBooSm6zH0xdIgt/MxFgqnCjPpd6BNaPF8snGTDRKmWxmdD4G5bFH 4ARnLPM8ocJIcnU7I2j9qiR9BgxOiXT4Y7eylrt5drnonemSjk3RbA4G+VaA6PiI9Bf4=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeZUO-00031A-4T; Sat, 01 Oct 2022 12:12:58 +0200 In-Reply-To: <86h70o80ws.fsf@gnu.org> (Arash Esbati's message of "Sat, 01 Oct 2022 09:21:07 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEU0MDJMTDlBPDZl Zjy4wTmJkmkRDw82OkM5R0tYXk87Qzk/PUH////k1sMtAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YK AQk2K9S0fkEAAAGoSURBVDjL1VM9T+NAEJ01ApOk8XglBFSOC+pbrfMLsvkFTgpEQ5XaVHbpLqYL OkWyL82F5g5XNBTo/tzNLo6zIUYUVDxppd335mtHMwDfAOhD2MU7dIb+ARs4YQCOFPhOcnAYABxF E2ELThgOEdEDJ1JjzxLCMCQe6cai+Md+JEpgINCDDrDY97t44LLbATyn2+FTnHy5u1vMtxe3pdzC CIc53PQDYUEnK+dNrP5dvTHmWVEVhHx++yb0qrc+kEBIKFQjMLxoWutmiV0V8863OU5zIzSN7OPv tiojwNnh30wo50rbLBJ3AYN/PcOnSWvyZ5GeFsn6uVo+a/veslXSFLJseby+qQYlwGppB3azcvYy W62q/PV6P2V6X67vq9eBHcmgyPtQQ35Y5N+iqLEo++9Y/ccaNz8fzCzu8KsGqB9xQ4O+74GXR0LQ TNOwBRYLsBlFKqaRFvYUMro+TdV0glKSYC8aQz6bKiVHAjnutonRU4yUUmMkH0q/TcOE5EKSoATX AvebPdF7JC6m2oXLWbyriyFDgZF2kZMxtxZTuyDXSiz9oE3+HxWyWpOoQ7eCAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIyLTEwLTAxVDA5OjU0OjQzKzAwOjAwo0gXEgAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMi0xMC0wMVQwOTo1NDo0MyswMDowMNIVr64AAAAASUVORK5CYII= X-Now-Playing: Blind Mr. Jones's _Still in a Dream (4)_: "Spooky Vibes" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244101 Archived-At: Arash Esbati writes: > Thanks for looking at this. My impression back then was that the entry > "application/vnd.ms-excel" is coming from `mailcap-mime-data' and > "application/vnd\.ms-excel" is generated by the function > `mailcap-parse-mailcap' which is called inside `mailcap-parse-mailcaps' > where the former pushes the entries in ~/.mailcap through > `regexp-quote'. So I think the bug is that 2 different entries are > generated for the same mime-type. Or am I missing something? Hm, yes -- I had this backwards. Reopening.