Package: emacs
Version: 1:26.1+1-3.2+deb10u1
Severity: normal
Tags: patch

Hi Rob,

While decrufting my config and benchmarking my init I found some
old-style Emacs package.  python-docutils-common ships an obsolete
copy of rst.el, which I'm in the process of filing a MR to remove.

That said, they have a nice, simple patch that we should adopt; I've
attached it.  There may be other places where Emacs could be better
integrated into a Debian system.  See patch for details.


Cheers,
Nicholas
From: Jakub Wilk <jw...@debian.org>
Date: Thu, 8 Oct 2015 11:57:04 -0700
Subject: Use "sensible-browser" to preview slides

Use 'sensible-browser' (rather than 'firefox') as a program to preview
S5 slides.

Forwarded: not-needed
Last-Update: 2011-08-21
---
 tools/editors/emacs/rst.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/editors/emacs/rst.el b/tools/editors/emacs/rst.el
index c5ef7a0..0d83971 100644
--- a/tools/editors/emacs/rst.el
+++ b/tools/editors/emacs/rst.el
@@ -4457,7 +4457,7 @@ buffer, if the region is not selected."
 
 ;; FIXME: Should be integrated in `rst-compile-toolsets' defaulting to
 ;;        something like `browse-url'.
-(defvar rst-slides-program "firefox"
+(defvar rst-slides-program "sensible-browser"
   "Program used to preview S5 slides.")
 
 (defun rst-compile-slides-preview ()

Reply via email to