diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 42 | ||||
| -rw-r--r-- | lisp/align.el | 10 | ||||
| -rw-r--r-- | lisp/bindings.el | 4 | ||||
| -rw-r--r-- | lisp/dabbrev.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/syntax.el | 2 | ||||
| -rw-r--r-- | lisp/eshell/esh-io.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/which-func.el | 4 | ||||
| -rw-r--r-- | lisp/server.el | 4 | ||||
| -rw-r--r-- | lisp/term.el | 20 |
9 files changed, 70 insertions, 21 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 775ddcdc2e7..149de6629f0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -15,6 +15,48 @@ | |||
| 15 | (ctext-no-compositions): Doc fix. | 15 | (ctext-no-compositions): Doc fix. |
| 16 | (compound-text-with-extensions): Doc fix. | 16 | (compound-text-with-extensions): Doc fix. |
| 17 | 17 | ||
| 18 | 2010-08-03 Juanma Barranquero <lekktu@gmail.com> | ||
| 19 | |||
| 20 | * progmodes/which-func.el (which-func-format): Split help-echo text | ||
| 21 | into lines, like other mode-line tooltips. | ||
| 22 | |||
| 23 | * server.el (server-start): When using TCP sockets, force IPv4 | ||
| 24 | and use a literal 127.0.0.1 for localhost. (Related to bug#6781.) | ||
| 25 | |||
| 26 | 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 27 | |||
| 28 | * bindings.el (complete-symbol): Run completion-at-point as a fallback. | ||
| 29 | |||
| 30 | 2010-08-02 Juanma Barranquero <lekktu@gmail.com> | ||
| 31 | |||
| 32 | * term.el (term-delimiter-argument-list): Reflow docstring. | ||
| 33 | (term-read-input-ring, term-write-input-ring, term-send-input) | ||
| 34 | (term-bol, term-erase-in-display, serial-supported-or-barf): | ||
| 35 | Fix typos in docstrings. | ||
| 36 | |||
| 37 | 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 38 | |||
| 39 | * bindings.el (function-key-map): Add a S-tab => backtab fallback. | ||
| 40 | |||
| 41 | 2010-08-01 Juanma Barranquero <lekktu@gmail.com> | ||
| 42 | |||
| 43 | * dabbrev.el (dabbrev-completion): Fix typo in docstring. | ||
| 44 | |||
| 45 | 2010-08-01 MON KEY <monkey@sandpframing.com> (tiny change) | ||
| 46 | |||
| 47 | * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): | ||
| 48 | Fix typo in docstring (bug#6747). | ||
| 49 | |||
| 50 | 2010-07-30 Leo <sdl.web@gmail.com> | ||
| 51 | |||
| 52 | * eshell/esh-io.el (eshell-get-target): Better detection of | ||
| 53 | read-only file (Bug#6762). | ||
| 54 | |||
| 55 | 2010-07-30 Juanma Barranquero <lekktu@gmail.com> | ||
| 56 | |||
| 57 | * align.el (align-default-spacing): Doc fix. | ||
| 58 | (align-region-heuristic, align-regexp): Fix typos in docstrings. | ||
| 59 | |||
| 18 | 2010-07-23 Juanma Barranquero <lekktu@gmail.com> | 60 | 2010-07-23 Juanma Barranquero <lekktu@gmail.com> |
| 19 | 61 | ||
| 20 | * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). | 62 | * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). |
diff --git a/lisp/align.el b/lisp/align.el index 83ed0f4693a..9d811327021 100644 --- a/lisp/align.el +++ b/lisp/align.el | |||
| @@ -140,8 +140,8 @@ | |||
| 140 | "An integer that represents the default amount of padding to use. | 140 | "An integer that represents the default amount of padding to use. |
| 141 | If `align-to-tab-stop' is non-nil, this will represent the number of | 141 | If `align-to-tab-stop' is non-nil, this will represent the number of |
| 142 | tab stops to use for alignment, rather than the number of spaces. | 142 | tab stops to use for alignment, rather than the number of spaces. |
| 143 | Each alignment rule can optionally override both this variable. See | 143 | Each alignment rule can optionally override both this variable and |
| 144 | `align-mode-alist'." | 144 | `align-to-tab-stop'. See `align-rules-list'." |
| 145 | :type 'integer | 145 | :type 'integer |
| 146 | :group 'align) | 146 | :group 'align) |
| 147 | 147 | ||
| @@ -157,8 +157,8 @@ Since each alignment rule can possibly have its own set of alignment | |||
| 157 | sections (whenever `align-region-separate' is non-nil, and not a | 157 | sections (whenever `align-region-separate' is non-nil, and not a |
| 158 | string), this heuristic is used to determine how far before and after | 158 | string), this heuristic is used to determine how far before and after |
| 159 | point we should search in looking for a region separator. Larger | 159 | point we should search in looking for a region separator. Larger |
| 160 | values can mean slower perform in large files, although smaller values | 160 | values can mean slower performance in large files, although smaller |
| 161 | may cause unexpected behavior at times." | 161 | values may cause unexpected behavior at times." |
| 162 | :type 'integer | 162 | :type 'integer |
| 163 | :group 'align) | 163 | :group 'align) |
| 164 | 164 | ||
| @@ -926,7 +926,7 @@ align them so that the opening parentheses would line up: | |||
| 926 | Joe (123) 456-7890 | 926 | Joe (123) 456-7890 |
| 927 | 927 | ||
| 928 | There is no predefined rule to handle this, but you could easily do it | 928 | There is no predefined rule to handle this, but you could easily do it |
| 929 | using a REGEXP like \"(\". All you would have to do is to mark the | 929 | using a REGEXP like \"(\". All you would have to do is to mark the |
| 930 | region, call `align-regexp' and type in that regular expression." | 930 | region, call `align-regexp' and type in that regular expression." |
| 931 | (interactive | 931 | (interactive |
| 932 | (append | 932 | (append |
diff --git a/lisp/bindings.el b/lisp/bindings.el index 37ca3b86055..3ce21a578d5 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -688,6 +688,7 @@ language you are using." | |||
| 688 | (fboundp 'semantic-active-p) | 688 | (fboundp 'semantic-active-p) |
| 689 | (semantic-active-p)) | 689 | (semantic-active-p)) |
| 690 | (semantic-ia-complete-symbol)) | 690 | (semantic-ia-complete-symbol)) |
| 691 | (completion-at-point-functions (completion-at-point)) | ||
| 691 | (t | 692 | (t |
| 692 | (error "%s" | 693 | (error "%s" |
| 693 | (substitute-command-keys | 694 | (substitute-command-keys |
| @@ -1035,6 +1036,9 @@ or \\[semantic-mode]"))))) | |||
| 1035 | ;; so we can't distinguish those two keys, but usually we consider C-SPC | 1036 | ;; so we can't distinguish those two keys, but usually we consider C-SPC |
| 1036 | ;; (rather than C-@) as the "canonical" binding. | 1037 | ;; (rather than C-@) as the "canonical" binding. |
| 1037 | (define-key function-key-map [?\C-@] [?\C-\s]) | 1038 | (define-key function-key-map [?\C-@] [?\C-\s]) |
| 1039 | ;; Many keyboards don't have a `backtab' key, so by convention the user | ||
| 1040 | ;; can use S-tab instead to access that binding. | ||
| 1041 | (define-key function-key-map [S-tab] [backtab]) | ||
| 1038 | 1042 | ||
| 1039 | (define-key global-map [mouse-movement] 'ignore) | 1043 | (define-key global-map [mouse-movement] 'ignore) |
| 1040 | 1044 | ||
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 3ba9d56af16..1127181dca2 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el | |||
| @@ -377,7 +377,7 @@ With a prefix argument ARG, it searches all buffers accepted by the | |||
| 377 | function pointed out by `dabbrev-friend-buffer-function' to find the | 377 | function pointed out by `dabbrev-friend-buffer-function' to find the |
| 378 | completions. | 378 | completions. |
| 379 | 379 | ||
| 380 | If the prefix argument is 16 (which comes from \\[prefix-argument] \\[prefix-argument]), | 380 | If the prefix argument is 16 (which comes from \\[universal-argument] \\[universal-argument]), |
| 381 | then it searches *all* buffers." | 381 | then it searches *all* buffers." |
| 382 | (interactive "*P") | 382 | (interactive "*P") |
| 383 | (dabbrev--reset-global-variables) | 383 | (dabbrev--reset-global-variables) |
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index a3110f8d8c5..5cc89596ef5 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | 52 | ||
| 53 | (defun syntax-ppss-toplevel-pos (ppss) | 53 | (defun syntax-ppss-toplevel-pos (ppss) |
| 54 | "Get the latest syntactically outermost position found in a syntactic scan. | 54 | "Get the latest syntactically outermost position found in a syntactic scan. |
| 55 | PPSS is a scan state, as returned by `partial-parse-sexp' or `syntax-ppss'. | 55 | PPSS is a scan state, as returned by `parse-partial-sexp' or `syntax-ppss'. |
| 56 | An \"outermost position\" means one that it is outside of any syntactic entity: | 56 | An \"outermost position\" means one that it is outside of any syntactic entity: |
| 57 | outside of any parentheses, comments, or strings encountered in the scan. | 57 | outside of any parentheses, comments, or strings encountered in the scan. |
| 58 | If no such position is recorded in PPSS (because the end of the scan was | 58 | If no such position is recorded in PPSS (because the end of the scan was |
diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el index 1bcfe2b46e7..3aa785c7c1b 100644 --- a/lisp/eshell/esh-io.el +++ b/lisp/eshell/esh-io.el | |||
| @@ -343,8 +343,9 @@ it defaults to `insert'." | |||
| 343 | (let* ((exists (get-file-buffer target)) | 343 | (let* ((exists (get-file-buffer target)) |
| 344 | (buf (find-file-noselect target t))) | 344 | (buf (find-file-noselect target t))) |
| 345 | (with-current-buffer buf | 345 | (with-current-buffer buf |
| 346 | (if buffer-read-only | 346 | (if buffer-file-read-only |
| 347 | (error "Cannot write to read-only file `%s'" target)) | 347 | (error "Cannot write to read-only file `%s'" target)) |
| 348 | (setq buffer-read-only nil) | ||
| 348 | (set (make-local-variable 'eshell-output-file-buffer) | 349 | (set (make-local-variable 'eshell-output-file-buffer) |
| 349 | (if (eq exists buf) 0 t)) | 350 | (if (eq exists buf) 0 t)) |
| 350 | (cond ((eq mode 'overwrite) | 351 | (cond ((eq mode 'overwrite) |
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el index 6a72c161429..469786e04dd 100644 --- a/lisp/progmodes/which-func.el +++ b/lisp/progmodes/which-func.el | |||
| @@ -145,7 +145,9 @@ Zero means compute the Imenu menu regardless of size." | |||
| 145 | local-map ,which-func-keymap | 145 | local-map ,which-func-keymap |
| 146 | face which-func | 146 | face which-func |
| 147 | ;;mouse-face highlight ; currently not evaluated :-( | 147 | ;;mouse-face highlight ; currently not evaluated :-( |
| 148 | help-echo "mouse-1: go to beginning, mouse-2: toggle rest visibility, mouse-3: go to end") | 148 | help-echo "mouse-1: go to beginning\n\ |
| 149 | mouse-2: toggle rest visibility\n\ | ||
| 150 | mouse-3: go to end") | ||
| 149 | "]") | 151 | "]") |
| 150 | "Format for displaying the function in the mode line." | 152 | "Format for displaying the function in the mode line." |
| 151 | :group 'which-func | 153 | :group 'which-func |
diff --git a/lisp/server.el b/lisp/server.el index d36b99cc5b6..e8a0125f554 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -560,9 +560,9 @@ server or call `M-x server-force-delete' to forcibly disconnect it.") | |||
| 560 | :coding 'raw-text-unix | 560 | :coding 'raw-text-unix |
| 561 | ;; The other args depend on the kind of socket used. | 561 | ;; The other args depend on the kind of socket used. |
| 562 | (if server-use-tcp | 562 | (if server-use-tcp |
| 563 | (list :family nil | 563 | (list :family 'ipv4 ;; We're not ready for IPv6 yet |
| 564 | :service t | 564 | :service t |
| 565 | :host (or server-host 'local) | 565 | :host (or server-host "127.0.0.1") ;; See bug#6781 |
| 566 | :plist '(:authenticated nil)) | 566 | :plist '(:authenticated nil)) |
| 567 | (list :family 'local | 567 | (list :family 'local |
| 568 | :service server-file | 568 | :service server-file |
diff --git a/lisp/term.el b/lisp/term.el index 7cb364af622..2223ff2587d 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -502,8 +502,8 @@ This is a good thing to set in mode hooks.") | |||
| 502 | (defvar term-delimiter-argument-list () | 502 | (defvar term-delimiter-argument-list () |
| 503 | "List of characters to recognize as separate arguments in input. | 503 | "List of characters to recognize as separate arguments in input. |
| 504 | Strings comprising a character in this list will separate the arguments | 504 | Strings comprising a character in this list will separate the arguments |
| 505 | surrounding them, and also be regarded as arguments in their own right (unlike | 505 | surrounding them, and also be regarded as arguments in their own right |
| 506 | whitespace). See `term-arguments'. | 506 | \(unlike whitespace). See `term-arguments'. |
| 507 | Defaults to the empty list. | 507 | Defaults to the empty list. |
| 508 | 508 | ||
| 509 | For shells, a good value is (?\\| ?& ?< ?> ?\\( ?\\) ?\\;). | 509 | For shells, a good value is (?\\| ?& ?< ?> ?\\( ?\\) ?\\;). |
| @@ -1516,7 +1516,7 @@ if [ $1 = .. ]; then shift; fi; exec \"$@\"" | |||
| 1516 | ;; term-replace-by-expanded-history-before-point Workhorse function. | 1516 | ;; term-replace-by-expanded-history-before-point Workhorse function. |
| 1517 | 1517 | ||
| 1518 | (defun term-read-input-ring (&optional silent) | 1518 | (defun term-read-input-ring (&optional silent) |
| 1519 | "Sets the buffer's `term-input-ring' from a history file. | 1519 | "Set the buffer's `term-input-ring' from a history file. |
| 1520 | The name of the file is given by the variable `term-input-ring-file-name'. | 1520 | The name of the file is given by the variable `term-input-ring-file-name'. |
| 1521 | The history ring is of size `term-input-ring-size', regardless of file size. | 1521 | The history ring is of size `term-input-ring-size', regardless of file size. |
| 1522 | If `term-input-ring-file-name' is nil this function does nothing. | 1522 | If `term-input-ring-file-name' is nil this function does nothing. |
| @@ -1564,7 +1564,7 @@ See also `term-input-ignoredups' and `term-write-input-ring'." | |||
| 1564 | term-input-ring-index nil))))) | 1564 | term-input-ring-index nil))))) |
| 1565 | 1565 | ||
| 1566 | (defun term-write-input-ring () | 1566 | (defun term-write-input-ring () |
| 1567 | "Writes the buffer's `term-input-ring' to a history file. | 1567 | "Write the buffer's `term-input-ring' to a history file. |
| 1568 | The name of the file is given by the variable `term-input-ring-file-name'. | 1568 | The name of the file is given by the variable `term-input-ring-file-name'. |
| 1569 | The original contents of the file are lost if `term-input-ring' is not empty. | 1569 | The original contents of the file are lost if `term-input-ring' is not empty. |
| 1570 | If `term-input-ring-file-name' is nil this function does nothing. | 1570 | If `term-input-ring-file-name' is nil this function does nothing. |
| @@ -1996,12 +1996,12 @@ Argument 0 is the command name." | |||
| 1996 | "Send input to process. | 1996 | "Send input to process. |
| 1997 | After the process output mark, sends all text from the process mark to | 1997 | After the process output mark, sends all text from the process mark to |
| 1998 | point as input to the process. Before the process output mark, calls value | 1998 | point as input to the process. Before the process output mark, calls value |
| 1999 | of variable term-get-old-input to retrieve old input, copies it to the | 1999 | of variable `term-get-old-input' to retrieve old input, copies it to the |
| 2000 | process mark, and sends it. A terminal newline is also inserted into the | 2000 | process mark, and sends it. A terminal newline is also inserted into the |
| 2001 | buffer and sent to the process. The list of function names contained in the | 2001 | buffer and sent to the process. The list of function names contained in the |
| 2002 | value of `term-input-filter-functions' is called on the input before sending | 2002 | value of `term-input-filter-functions' is called on the input before sending |
| 2003 | it. The input is entered into the input history ring, if the value of variable | 2003 | it. The input is entered into the input history ring, if the value of variable |
| 2004 | term-input-filter returns non-nil when called on the input. | 2004 | `term-input-filter' returns non-nil when called on the input. |
| 2005 | 2005 | ||
| 2006 | Any history reference may be expanded depending on the value of the variable | 2006 | Any history reference may be expanded depending on the value of the variable |
| 2007 | `term-input-autoexpand'. The list of function names contained in the value | 2007 | `term-input-autoexpand'. The list of function names contained in the value |
| @@ -2137,7 +2137,7 @@ set the hook `term-input-sender'." | |||
| 2137 | (term-send-string proc "\n")) | 2137 | (term-send-string proc "\n")) |
| 2138 | 2138 | ||
| 2139 | (defun term-bol (arg) | 2139 | (defun term-bol (arg) |
| 2140 | "Goes to the beginning of line, then skips past the prompt, if any. | 2140 | "Go to the beginning of line, then skip past the prompt, if any. |
| 2141 | If a prefix argument is given (\\[universal-argument]), then no prompt skip | 2141 | If a prefix argument is given (\\[universal-argument]), then no prompt skip |
| 2142 | -- go straight to column 0. | 2142 | -- go straight to column 0. |
| 2143 | 2143 | ||
| @@ -3760,7 +3760,7 @@ all pending output has been dealt with.")) | |||
| 3760 | (goto-char saved-point)))) | 3760 | (goto-char saved-point)))) |
| 3761 | 3761 | ||
| 3762 | (defun term-erase-in-display (kind) | 3762 | (defun term-erase-in-display (kind) |
| 3763 | "Erases (that is blanks out) part of the window. | 3763 | "Erase (that is blank out) part of the window. |
| 3764 | If KIND is 0, erase from (point) to (point-max); | 3764 | If KIND is 0, erase from (point) to (point-max); |
| 3765 | if KIND is 1, erase from home to point; else erase from home to point-max." | 3765 | if KIND is 1, erase from home to point; else erase from home to point-max." |
| 3766 | (term-handle-deferred-scroll) | 3766 | (term-handle-deferred-scroll) |
| @@ -4166,7 +4166,7 @@ Typing SPC flushes the help buffer." | |||
| 4166 | 4166 | ||
| 4167 | ;; I need a make-term that doesn't surround with *s -mm | 4167 | ;; I need a make-term that doesn't surround with *s -mm |
| 4168 | (defun term-ansi-make-term (name program &optional startfile &rest switches) | 4168 | (defun term-ansi-make-term (name program &optional startfile &rest switches) |
| 4169 | "Make a term process NAME in a buffer, running PROGRAM. | 4169 | "Make a term process NAME in a buffer, running PROGRAM. |
| 4170 | The name of the buffer is NAME. | 4170 | The name of the buffer is NAME. |
| 4171 | If there is already a running process in that buffer, it is not restarted. | 4171 | If there is already a running process in that buffer, it is not restarted. |
| 4172 | Optional third arg STARTFILE is the name of a file to send the contents of to | 4172 | Optional third arg STARTFILE is the name of a file to send the contents of to |
| @@ -4267,7 +4267,7 @@ returns nil, which is recognized by `serial-process-configure' | |||
| 4267 | for special serial ports that cannot be configured.") | 4267 | for special serial ports that cannot be configured.") |
| 4268 | 4268 | ||
| 4269 | (defun serial-supported-or-barf () | 4269 | (defun serial-supported-or-barf () |
| 4270 | "Signal an error if serial processes are not supported" | 4270 | "Signal an error if serial processes are not supported." |
| 4271 | (unless (fboundp 'make-serial-process) | 4271 | (unless (fboundp 'make-serial-process) |
| 4272 | (error "Serial processes are not supported on this system"))) | 4272 | (error "Serial processes are not supported on this system"))) |
| 4273 | 4273 | ||