From 55880756f19c0faf0f8aed4b6627a7b3e25c0b1a Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 30 Oct 2005 19:58:40 +0000 Subject: [PATCH] * 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 . --- lisp/ChangeLog | 7 +++++++ lisp/net/tramp.el | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c7d1adb978..f70d37ef25b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2005-10-30 Michael Albinus + + * 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 . + 2005-10-30 Luc Teirlinck * comint.el (comint-send-input): Call `comint-update-fence' when diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 545fa9e94b1..5dc1356c6d2 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1358,6 +1358,9 @@ autocorrect\" to the remote host." (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 @@ checked via the following code: (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 @@ in the third line of the code. 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 -- 2.39.5