[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] nextstep: Emacs can be used to edit PDF files
From: |
Daniel Martín |
Subject: |
Re: [PATCH] nextstep: Emacs can be used to edit PDF files |
Date: |
Fri, 19 Nov 2021 01:15:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) |
David Edmondson <dme@dme.org> writes:
> 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
> <https://www.gnu.org/licenses/>.
> <key>CFBundleTypeRole</key>
> <string>Editor</string>
> </dict>
> + <dict>
> + <key>CFBundleTypeExtensions</key>
> + <array>
> + <string>pdf</string>
> + </array>
> + <key>CFBundleTypeIconFile</key>
> + <string>document.icns</string>
> + <key>CFBundleTypeName</key>
> + <string>PDF document</string>
> + <key>CFBundleTypeRole</key>
> + <string>Editor</string>
> + </dict>
> <dict>
> <key>CFBundleTypeExtensions</key>
> <array>
Thanks for the patch, but by default Emacs opens PDF files in
fundamental-mode, which IMO is not very convenient for reading PDFs.
It's true that there's also doc-view-mode, but that requires some extra
configuration.
If someone has configured Emacs to be a good PDF viewer, they can always
force the Open With dialog to open PDFs with Emacs.
- [PATCH] nextstep: Emacs can be used to edit PDF files, David Edmondson, 2021/11/10
- Re: [PATCH] nextstep: Emacs can be used to edit PDF files,
Daniel Martín <=
- Re: [PATCH] nextstep: Emacs can be used to edit PDF files, Stefan Monnier, 2021/11/18
- Re: [PATCH] nextstep: Emacs can be used to edit PDF files, Stefan Kangas, 2021/11/18
- Re: [PATCH] nextstep: Emacs can be used to edit PDF files, Stefan Monnier, 2021/11/19
- Re: [PATCH] nextstep: Emacs can be used to edit PDF files, Stefan Kangas, 2021/11/19
- Re: [PATCH] nextstep: Emacs can be used to edit PDF files, Stefan Monnier, 2021/11/20
- Re: [PATCH] nextstep: Emacs can be used to edit PDF files, Alan Third, 2021/11/20
Re: [PATCH] nextstep: Emacs can be used to edit PDF files, David Edmondson, 2021/11/23