GNU bug report logs - #13497
[PATCH] 24.2.91; comint file-name completion bug in inferior-sml-mode

Previous Next

Package: emacs;

Reported by: Vitalie Spinu <spinuvit <at> gmail.com>

Date: Sat, 19 Jan 2013 17:26:02 UTC

Severity: normal

Tags: patch

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Vitalie Spinu <spinuvit <at> gmail.com>, 13497 <at> debbugs.gnu.org
Subject: Re: bug#13497: [PATCH] 24.2.91;
	comint file-name completion bug in inferior-sml-mode
Date: Thu, 24 Jan 2013 13:53:40 -0500
>> │   ;; Make TAB add a " rather than a space at the end of a file name.
>> │   (set (make-local-variable 'comint-completion-addsuffix) '(?/ . ?\"))
> comint-completion-addsuffix has never supported that setting.

Indeed, I have no idea where I got that from.
The patch below should fix it,


        Stefan


=== modified file 'packages/sml-mode/sml-mode.el'
--- packages/sml-mode/sml-mode.el	2012-12-04 17:41:08 +0000
+++ packages/sml-mode/sml-mode.el	2013-01-24 18:50:08 +0000
@@ -1201,7 +1201,7 @@
   (add-hook 'next-error-hook 'inferior-sml-next-error-hook)
 
   ;; Make TAB add a " rather than a space at the end of a file name.
-  (set (make-local-variable 'comint-completion-addsuffix) '(?/ . ?\"))
+  (set (make-local-variable 'comint-completion-addsuffix) '("/" . "\""))
 
   (set (make-local-variable 'font-lock-defaults)
        inferior-sml-font-lock-defaults)





This bug report was last modified 12 years and 124 days ago.

Previous Next


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