GNU bug report logs - #21679
[PATCH] 25.0.50; Use pretty symbols from Lisp mode in Scheme mode

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Tue, 13 Oct 2015 18:26:02 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21679 in the body.
You can then email your comments to 21679 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21679; Package emacs. (Tue, 13 Oct 2015 18:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Heggestøyl <simenheg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 13 Oct 2015 18:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] 25.0.50; Use pretty symbols from Lisp mode in Scheme mode
Date: Tue, 13 Oct 2015 20:25:19 +0200
[Message part 1 (text/plain, inline)]
Lisp mode has a `prettify-symbols-alist' for prettifying lambda as λ.
Let's give Scheme mode pretty lambdas too, by borrowing Lisp mode's
`prettify-symbols-alist'.


From 9ee4a43831830d3bb420453cb3082568122e9190 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= <simenheg <at> gmail.com>
Date: Sun, 11 Oct 2015 10:29:36 +0200
Subject: [PATCH] Use pretty symbols from Lisp mode in Scheme mode

* lisp/progmodes/scheme.el (scheme-mode-variables): Borrow
`prettify-symbols-alist' from Lisp mode.
---
lisp/progmodes/scheme.el | 1 +
1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index e921e84..549f09b 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -156,6 +156,7 @@
	  nil t (("+-*/.<>=!?$%_&~^:" . "w") (?#. "w 14"))
	  beginning-of-defun
	  (font-lock-mark-block-function . mark-defun)))
+  (setq-local prettify-symbols-alist lisp--prettify-symbols-alist)
  (setq-local lisp-doc-string-elt-property 'scheme-doc-string-elt))

(defvar scheme-mode-line-process "")
-- 
2.6.1


[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21679; Package emacs. (Tue, 23 Feb 2016 08:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 21679 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: 21679 <at> debbugs.gnu.org
Subject: Re: bug#21679: [PATCH] 25.0.50;
 Use pretty symbols from Lisp mode in Scheme mode
Date: Tue, 23 Feb 2016 19:57:15 +1100
Simen Heggestøyl <simenheg <at> gmail.com> writes:

> * lisp/progmodes/scheme.el (scheme-mode-variables): Borrow
> `prettify-symbols-alist' from Lisp mode.

Thanks; applied to the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 23 Feb 2016 08:58:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 21679 <at> debbugs.gnu.org and Simen Heggestøyl <simenheg <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 23 Feb 2016 08:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 22 Mar 2016 11:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:08 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:08 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:08 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:23 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.