GNU bug report logs - #16159
[PATCH] Better paragraph separation for sh-mode

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Mon, 16 Dec 2013 10:51:01 UTC

Severity: minor

Tags: patch

Fixed in version 24.4

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16159: closed ([PATCH] Better paragraph separation for sh-mode)
Date: Sun, 22 Dec 2013 23:27:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 22 Dec 2013 18:26:17 -0500
with message-id <bztxe0a2na.fsf <at> fencepost.gnu.org>
and subject line Re: bug#16159: [PATCH] Better paragraph separation for sh-mode
has caused the debbugs.gnu.org bug report #16159,
regarding [PATCH] Better paragraph separation for sh-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16159: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16159
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Daniel Colascione <dancol <at> dancol.org>
To: bug-emacs <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] Better paragraph separation for sh-mode
Date: Mon, 16 Dec 2013 02:49:32 -0800
This change should make sure that M-q doesn't combine a comment line 
with the initial shebang of a shell script.

$ bzr diff
=== modified file 'lisp/progmodes/sh-script.el'
--- lisp/progmodes/sh-script.el	2013-11-09 10:49:42 +0000
+++ lisp/progmodes/sh-script.el	2013-12-16 10:46:04 +0000
@@ -1589,7 +1589,7 @@
 	      (lambda () (or (eolp) (newline) (indent-relative))))

   (setq-local paragraph-start (concat page-delimiter "\\|$"))
-  (setq-local paragraph-separate paragraph-start)
+  (setq-local paragraph-separate (concat paragraph-start "\\|#!/"))
   (setq-local comment-start "# ")
   (setq-local comment-start-skip "#+[\t ]*")
   (setq-local local-abbrev-table sh-mode-abbrev-table)



[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 16159-done <at> debbugs.gnu.org
Subject: Re: bug#16159: [PATCH] Better paragraph separation for sh-mode
Date: Sun, 22 Dec 2013 18:26:17 -0500
Version: 24.4

Thanks for applying it. Next time please close the associated bug as
well, which you do simply by mailing ###-done <at> debbugs. You may also wish
to refer to the bug number in the ChangeLog entry.


This bug report was last modified 11 years and 157 days ago.

Previous Next


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