changeset 66561:742e40a6bf3c

* net/tramp.el (tramp-chunksize): Escape parentheses in docstring starting at beginning of line. Fontification is messed up when `open-paren-in-column-0-is-defun-start' set to t. Reported by John Paul Wallington <jpw@pobox.com>.
author Michael Albinus <michael.albinus@gmx.de>
date Sun, 30 Oct 2005 19:58:40 +0000
parents 232f770dbf0f
children 2b1397553d1d
files lisp/ChangeLog lisp/net/tramp.el
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Oct 30 16:42:48 2005 +0000
+++ b/lisp/ChangeLog	Sun Oct 30 19:58:40 2005 +0000
@@ -1,3 +1,10 @@
+2005-10-30  Michael Albinus  <michael.albinus@gmx.de>
+
+	* net/tramp.el (tramp-chunksize): Escape parentheses in docstring
+	starting at beginning of line.  Fontification is messed up when
+	`open-paren-in-column-0-is-defun-start' set to t.  Reported
+	by John Paul Wallington <jpw@pobox.com>.
+
 2005-10-30  Luc Teirlinck  <teirllm@auburn.edu>
 
 	* comint.el (comint-send-input): Call `comint-update-fence' when
--- a/lisp/net/tramp.el	Sun Oct 30 16:42:48 2005 +0000
+++ b/lisp/net/tramp.el	Sun Oct 30 19:58:40 2005 +0000
@@ -1358,6 +1358,9 @@
   (when (and (not (featurep 'xemacs))
 	     (memq system-type '(hpux)))
     500)
+;; Parentheses in docstring starting at beginning of line are escaped.
+;; Fontification is messed up when
+;; `open-paren-in-column-0-is-defun-start' set to t.
   "*If non-nil, chunksize for sending input to local process.
 It is necessary only on systems which have a buggy `process-send-string'
 implementation.  The necessity, whether this variable must be set, can be
@@ -1392,7 +1395,7 @@
         (sit-for 30))))
 
 In the Emacs normally running Tramp, evaluate the above code
-(replace \"xxx\" and \"yyy\" by the remote user and host name,
+\(replace \"xxx\" and \"yyy\" by the remote user and host name,
 respectively).  You can do this, for example, by pasting it into
 the `*scratch*' buffer and then hitting C-j with the cursor after the
 last closing parenthesis.  Note that it works only if you have configured
@@ -1409,7 +1412,7 @@
 
 When it is necessary to set `tramp-chunksize', you might consider to
 use an out-of-the-band method (like \"scp\") instead of an internal one
-(like \"ssh\"), because setting `tramp-chunksize' to non-nil decreases
+\(like \"ssh\"), because setting `tramp-chunksize' to non-nil decreases
 performance.
 
 Please raise a bug report via \"M-x tramp-bug\" if your system needs