From 40b1a3a937512ff35884df2e8e19c3feed9f2688 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sat, 25 Sep 2010 14:04:35 +0200 Subject: [PATCH] Fix typos. * lisp/finder.el (finder-unknown-keywords): * lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count): * lisp/progmodes/etags.el (tags-table-including): Fix typos in docstrings. * lisp/cedet/semantic/lex.el (semantic-ignore-comments): Doc fix. * lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits): Fix typo in error message. (semantic-symref-list-map-open-hits): Fix typo in docstring. * lisp/org/org-agenda.el (org-agenda-hide-tags-regexp): * lisp/org/org.el (org-refile-targets): Fix typos in docstrings. --- lisp/ChangeLog | 6 ++++++ lisp/ChangeLog.12 | 2 +- lisp/ChangeLog.9 | 2 +- lisp/cedet/ChangeLog | 8 ++++++++ lisp/cedet/ede/base.el | 2 +- lisp/cedet/semantic/lex.el | 4 ++-- lisp/cedet/semantic/symref/list.el | 4 ++-- lisp/cedet/srecode/fields.el | 2 +- lisp/finder.el | 2 +- lisp/man.el | 2 +- lisp/org/ChangeLog | 5 +++++ lisp/org/org-agenda.el | 2 +- lisp/org/org.el | 4 ++-- lisp/progmodes/etags.el | 2 +- lisp/progmodes/gdb-mi.el | 4 ++-- lisp/simple.el | 2 +- src/ChangeLog | 4 ++-- src/ChangeLog.5 | 2 +- src/ChangeLog.7 | 2 +- src/frame.h | 2 +- src/image.c | 2 +- src/keyboard.c | 2 +- 22 files changed, 43 insertions(+), 24 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0af5f330232..c220f46509d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,11 @@ 2010-09-25 Juanma Barranquero + * finder.el (finder-unknown-keywords): + * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count): + * progmodes/etags.el (tags-table-including): Fix typos in docstrings. + +2010-09-25 Juanma Barranquero + * server.el (server-start): Revert part of 2010-08-08 change. Using address 127.0.0.1 for local host is now done in Fmake_network_process. diff --git a/lisp/ChangeLog.12 b/lisp/ChangeLog.12 index 640c45dfc0c..242cfb8c953 100644 --- a/lisp/ChangeLog.12 +++ b/lisp/ChangeLog.12 @@ -1140,7 +1140,7 @@ (rcirc-keepalive-seconds): Remove variable. (rcirc-server-name, rcirc-timeout-timer, rcirc-connecting) (rcirc-process, rcirc-user-disconnect): New variables. - (rcirc-connect): Initalize new variables. + (rcirc-connect): Initialize new variables. (rcirc-keepalive): Don't send keepalive pings before connection is completed. (rcirc-sentinel): Do mark all channels with activity when diff --git a/lisp/ChangeLog.9 b/lisp/ChangeLog.9 index 56239cd3104..ad4aa7bbed0 100644 --- a/lisp/ChangeLog.9 +++ b/lisp/ChangeLog.9 @@ -8121,7 +8121,7 @@ * dired.el (dired-get-filename): Return filename verbatim if LOCALP is `verbatim'. * dired-aux.el (dired-add-entry): Call `dired-get-filename' with - `verbatim' so that we don't inadvertently delete a non-existant + `verbatim' so that we don't inadvertently delete a non-existent directory name. 2000-11-27 Kenichi Handa diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index fb2fa1c9c05..df02d554004 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,11 @@ +2010-09-25 Juanma Barranquero + + * semantic/lex.el (semantic-ignore-comments): Doc fix. + + * semantic/symref/list.el (semantic-symref-list-rename-open-hits): + Fix typo in error message. + (semantic-symref-list-map-open-hits): Fix typo in docstring. + 2010-09-21 Eric Ludlam Synch SRecode to CEDET 1.0. diff --git a/lisp/cedet/ede/base.el b/lisp/cedet/ede/base.el index f1f24ed339f..c2bfe1872a2 100644 --- a/lisp/cedet/ede/base.el +++ b/lisp/cedet/ede/base.el @@ -452,7 +452,7 @@ Do this by extracting the lowest directory name." ;; Targets and projects are often associated with other files, such as ;; header files, documentation files and the like. Have strong ;; associations can make useful user commands to quickly navigate -;; between the files base on their assocaitions. +;; between the files base on their associations. ;; (defun ede-header-file () "Return the header file for the current buffer. diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el index af312494a81..e0fed29b4fa 100644 --- a/lisp/cedet/semantic/lex.el +++ b/lisp/cedet/semantic/lex.el @@ -1810,8 +1810,8 @@ what syntax class CHAR has.") (defvar semantic-ignore-comments t "Default comment handling. -t means to strip comments when flexing. Nil means to keep comments -as part of the token stream.") +The value t means to strip comments when flexing; nil means +to keep comments as part of the token stream.") (make-variable-buffer-local 'semantic-ignore-comments) (defvar semantic-flex-enable-newlines nil diff --git a/lisp/cedet/semantic/symref/list.el b/lisp/cedet/semantic/symref/list.el index 9e0ee2a1b5b..53044e278ac 100644 --- a/lisp/cedet/semantic/symref/list.el +++ b/lisp/cedet/semantic/symref/list.el @@ -492,7 +492,7 @@ Closed items will be skipped." (let ((count (semantic-symref-list-map-open-hits (lambda () (replace-match newname nil t))))) (semantic-symref-list-update-open-hits) - (message "Renamed %d occurances." count))) + (message "Renamed %d occurrences." count))) ;;; REFACTORING UTILITIES ;; @@ -501,7 +501,7 @@ Closed items will be skipped." (defun semantic-symref-list-map-open-hits (function) "For every open hit in the symref buffer, perform FUNCTION. The `match-data' will be set to a successful hit of the searched for symbol. -Return the number of occurances FUNCTION was operated upon." +Return the number of occurrences FUNCTION was operated upon." ;; First Pass in this function - a straight rename. ;; Second Pass - Allow context specification based on diff --git a/lisp/cedet/srecode/fields.el b/lisp/cedet/srecode/fields.el index 0cfc2953792..ceb5f77f87f 100644 --- a/lisp/cedet/srecode/fields.el +++ b/lisp/cedet/srecode/fields.el @@ -198,7 +198,7 @@ If SET-TO is a string, then replace the text of OLAID wit SET-TO." (oset ir fields srecode-field-archive) (setq srecode-field-archive nil) - ;; Initailize myself first. + ;; Initialize myself first. (call-next-method) ) diff --git a/lisp/finder.el b/lisp/finder.el index 0c12a08d104..8471edd57ff 100644 --- a/lisp/finder.el +++ b/lisp/finder.el @@ -278,7 +278,7 @@ from; the default is `load-path'." help-echo finder-help-echo)))) (defun finder-unknown-keywords () - "Return an alist of unknown keywords and number of their occurences. + "Return an alist of unknown keywords and number of their occurrences. Unknown keywords are those present in `finder-keywords-hash' but not `finder-known-keywords'." (let (alist) diff --git a/lisp/man.el b/lisp/man.el index 88d1aa7c604..b1c5f37bc70 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -314,7 +314,7 @@ This regexp should not start with a `^' character.") "Regular expression describing references to normal files.") ;; This includes the section as an optional part to catch hyphenated -;; refernces to manpages. +;; references to manpages. (defvar Man-hyphenated-reference-regexp (concat "\\(" Man-name-regexp "\\)\\((\\(" Man-section-regexp "\\))\\)?") "Regular expression describing a reference in the SEE ALSO section.") diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index e08f0780562..72d4df0189b 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -1,3 +1,8 @@ +2010-09-25 Juanma Barranquero + + * org.el (org-refile-targets): + * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings. + 2010-08-19 Glenn Morris * org.el (org-outline-overlay-data, org-set-outline-overlay-data) diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index a3d288065d3..68a592b5fae 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el @@ -1359,7 +1359,7 @@ When non-nil, this must be the number of minutes, e.g. 60 for one hour." "Regular expression used to filter away specific tags in agenda views. This means that these tags will be present, but not be shown in the agenda line. Secondary filtering will still work on the hidden tags. -Nil means don't hide any tags." +The value nil means don't hide any tags." :group 'org-agenda-line-format :type '(choice (const :tag "Hide none" nil) diff --git a/lisp/org/org.el b/lisp/org/org.el index a2965e87d22..19759371023 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -1797,8 +1797,8 @@ This is list of cons cells. Each cell contains: - a specification of the files to be considered, either a list of files, or a symbol whose function or variable value will be used to retrieve a file name or a list of file names. If you use `org-agenda-files' for - that, all agenda files will be scanned for targets. Nil means consider - headings in the current buffer. + that, all agenda files will be scanned for targets. The value nil means + consider headings in the current buffer. - A specification of how to find candidate refile targets. This may be any of: - a cons cell (:tag . \"TAG\") to identify refile targets by a tag. diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 2018a71574e..c72e705bcf9 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -472,7 +472,7 @@ Subroutine of `visit-tags-table-buffer'. Looks for a tags table that has such tags or that includes a table that has them. Returns the name of the first such table. Non-nil CORE-ONLY means check only tags tables that are already in -buffers. Nil CORE-ONLY is ignored." +buffers. If CORE-ONLY is nil, it is ignored." (let ((tables tags-table-computed-list) (found nil)) ;; Loop over the list, looking for a table containing tags for THIS-FILE. diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 5b98ff427c3..3019f8bbf04 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -163,7 +163,7 @@ returned from -thread-info by `gdb-json-partial-output'. Updated in (defvar gdb-running-threads-count nil "Number of currently running threads. -Nil means that no information is available. +If nil, no information is available. Updated in `gdb-thread-list-handler-custom'.") @@ -2051,7 +2051,7 @@ current thread and update GDB buffers." Field names are wrapped in double quotes and equal signs are replaced with semicolons. -If FIX-KEY is non-nil, strip all \"FIX-KEY=\" occurences from +If FIX-KEY is non-nil, strip all \"FIX-KEY=\" occurrences from partial output. This is used to get rid of useless keys in lists in MI messages, e.g.: [key=.., key=..]. -stack-list-frames and -break-info are examples of MI commands which issue such diff --git a/lisp/simple.el b/lisp/simple.el index ca20a57ec9c..5c0615e08c4 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4410,7 +4410,7 @@ into account variable-width characters and line continuation." (goto-char (next-char-property-change (point)))) ;; Move a line. ;; We don't use `end-of-line', since we want to escape - ;; from field boundaries ocurring exactly at point. + ;; from field boundaries occurring exactly at point. (goto-char (constrain-to-field (let ((inhibit-field-text-motion t)) (line-end-position)) diff --git a/src/ChangeLog b/src/ChangeLog index 31ecc62ed37..cbdc3706076 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -19181,7 +19181,7 @@ (Ffont_shape_text): New function. (Fopen_font): If the font size is not given, use 12-pixel. (Ffont_at): New arg STRING. - (syms_of_font): Initalize font_charset_alist. + (syms_of_font): Initialize font_charset_alist. Declare Ffont_shape_text as a Lisp function. Call syms_of_XXfont conditionally. @@ -20178,7 +20178,7 @@ * font.c (font_unparse_fcname): Fix typo (swidth->width). (font_list_entities): Check driver_list->on. - (register_font_driver): Initalize `on' member to 0. + (register_font_driver): Initialize `on' member to 0. (font_update_drivers): New function. (Fclear_font_cache): Check driver_list->on. diff --git a/src/ChangeLog.5 b/src/ChangeLog.5 index 9be45e2fc54..cc3fcdd88f2 100644 --- a/src/ChangeLog.5 +++ b/src/ChangeLog.5 @@ -4093,7 +4093,7 @@ * xterm.h: Delete X10 code. - * xfns.c (Fx_create_frame): Don't increment refernce_count + * xfns.c (Fx_create_frame): Don't increment reference_count until the frame is put on the frame list. * xterm.c (x_initialize): Init x_noop_count, x_focus_frame diff --git a/src/ChangeLog.7 b/src/ChangeLog.7 index 6cc3d0f9e3e..7421aba4403 100644 --- a/src/ChangeLog.7 +++ b/src/ChangeLog.7 @@ -1040,7 +1040,7 @@ * lread.c: Remember the last TWO strings skipped with #@. (prev_saved_doc_string*): New variables. - (Fload): Initalize prev_saved_doc_string. + (Fload): Initialize prev_saved_doc_string. (read1): Copy saved_doc_string to prev_saved_doc_string before storing a new string in saved_doc_string. (read_list): Look in prev_saved_doc_string as well as diff --git a/src/frame.h b/src/frame.h index 6b307c7c3b1..e66fd9341c7 100644 --- a/src/frame.h +++ b/src/frame.h @@ -310,7 +310,7 @@ struct frame /* Canonical X unit. Width of default font, in pixels. */ int column_width; - /* Widht of space glyph of default font, in pixels. */ + /* Width of space glyph of default font, in pixels. */ int space_width; /* Canonical Y unit. Height of a line, in pixels. */ diff --git a/src/image.c b/src/image.c index ff0bbc1d688..940959e951a 100644 --- a/src/image.c +++ b/src/image.c @@ -8626,7 +8626,7 @@ of `image-library-alist', which see). */) #if defined (HAVE_IMAGEMAGICK) if (EQ (type, Qimagemagick)) { - /* MagickWandGenesis() initalizes the imagemagick library. */ + /* MagickWandGenesis() initializes the imagemagick library. */ MagickWandGenesis (); return CHECK_LIB_AVAILABLE (&imagemagick_type, init_imagemagick_functions, libraries); diff --git a/src/keyboard.c b/src/keyboard.c index 7321fa4e7a9..50cd49e54cd 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3802,7 +3802,7 @@ kbd_buffer_unget_event (register struct input_event *event) HELP is the help form. - FRAME and WINDOW are the frame and windoiw where the help is + FRAME and WINDOW are the frame and window where the help is generated. OBJECT is the Lisp object where the help was found (a buffer, a string, an overlay, or nil if neither from a string nor from a buffer). POS is the position within OBJECT where the help -- 2.11.4.GIT