From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Edmondson Newsgroups: gmane.emacs.devel Subject: [PATCH] nextstep: Emacs can be used to edit PDF files Date: Wed, 10 Nov 2021 08:38:18 +0000 Message-ID: <20211110083818.57631-1-dme@dme.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34580"; mail-complaints-to="usenet@ciao.gmane.io" Cc: David Edmondson To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 10 13:25:53 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mkmfo-0008rP-Uw for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Nov 2021 13:25:53 +0100 Original-Received: from localhost ([::1]:53350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkmfo-0004hf-0p for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Nov 2021 07:25:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkjEq-0001Az-5e for emacs-devel@gnu.org; Wed, 10 Nov 2021 03:45:48 -0500 Original-Received: from [2a00:1450:4864:20::32b] (port=53807 helo=mail-wm1-x32b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkjEo-0004qo-B9 for emacs-devel@gnu.org; Wed, 10 Nov 2021 03:45:47 -0500 Original-Received: by mail-wm1-x32b.google.com with SMTP id y196so1399613wmc.3 for ; Wed, 10 Nov 2021 00:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VUR2AUdBtp5wfWjNY9uAgDZ2KNGeXAE1HDMXqKkX24A=; b=F6G8L5EY3e8SedIun4ecqlDi/4t6oXmpJ6g3pw1qjZXxUwjOkGKr3yZSmyS7QEPkCG 0hNgi55FeGjjIAB9ytiBIf2jnMhyytVg8iBvdn4V5BTrsgZpjAjQPaEE8Y7zyakivuhE Gs0aDjon4QPWqO+HQd+0j/4DloAzPWIe/sIBBzGlQjq+cgzSI/nf0r6MefNZuP9jvZ3z 2+AYv3NrAraoew3C+YVKsYMe7/0WMbJWquodBvZ80hGQ7XlzPmJQN8PWKXmcDe/87OyV K0GBoZxanKG/YlziI0uCGOHSOUjFAQ1j/LYCd8b1I+i+kki3F5YDwm040Uh4O3xyNQ4s tjfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VUR2AUdBtp5wfWjNY9uAgDZ2KNGeXAE1HDMXqKkX24A=; b=aI/NONBM7dBBNbOA2C+ObY7YwIcVfUyCC9fLvPJEr1FhDCKkRGPm+d8Tb4X9yyZB1H D2zb9JsW0Dsm/jniH3UTe20T6gvFJL7zYGXcVnfRaYPXi4E6vkCOJurKXDlz/KO01hZH Te3TL5tAjBS8yZZZxnXpmjl4B5pENOY2VEK4VqjV+fDIqEUsg4aOm+L0PSEEzjwQsUKh 5WyI1iotgNe/aaWWf5alVipaGoN4garHz+kShETzl28f96VDKKGbXQbaNE/zn0nm54KO Kyd7RZzN8CHlC9mpIzixYazEquX4PXXNBvUeIIEplfZr4dbetdn0oVmnz3BsqpT8fFC8 AdLw== X-Gm-Message-State: AOAM531KcAN2TLVXVchli9K9LbI3dcZ1X4pmWRGEI2oGENWKo0DPKQgZ 175W1XYO13G58sYtAU5Uxs6X7eSfGuiwOA== X-Google-Smtp-Source: ABdhPJyMqUkqauMIofUa5NdCN/J88s4VQ+0bqViFUQ9HY+QZuhx10BQOPNaf7HF/WPdtnQ4yE3HizQ== X-Received: by 2002:a05:600c:3b27:: with SMTP id m39mr15298626wms.132.1636533504052; Wed, 10 Nov 2021 00:38:24 -0800 (PST) Original-Received: from disaster-area.hh.sledj.net ([2001:8b0:bb71:7140:64::1]) by smtp.gmail.com with ESMTPSA id v7sm21807351wrq.25.2021.11.10.00.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 00:38:23 -0800 (PST) Original-Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id c2a90dab; Wed, 10 Nov 2021 08:38:22 +0000 (UTC) X-Mailer: git-send-email 2.30.1 (Apple Git-130) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32b (failed) Received-SPF: neutral client-ip=2a00:1450:4864:20::32b; envelope-from=dme@dme.org; helo=mail-wm1-x32b.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 10 Nov 2021 07:23:37 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279164 Archived-At: Add editor role for PDF files, allowing them to be opened in Emacs via the Finder. --- nextstep/templates/Info.plist.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in index f9f0ec0857..bd86a75e79 100644 --- a/nextstep/templates/Info.plist.in +++ b/nextstep/templates/Info.plist.in @@ -488,6 +488,18 @@ along with GNU Emacs. If not, see . CFBundleTypeRole Editor + + CFBundleTypeExtensions + + pdf + + CFBundleTypeIconFile + document.icns + CFBundleTypeName + PDF document + CFBundleTypeRole + Editor + CFBundleTypeExtensions -- 2.30.1 (Apple Git-130)