1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix typos.

This commit is contained in:
Juanma Barranquero 2011-11-15 18:37:37 +01:00
parent dcecfb4cb4
commit c701515351
102 changed files with 192 additions and 168 deletions

View file

@ -287,7 +287,7 @@ Optional argument THROWSYM specifies a symbol the throw on non-recoverable error
;; For the middle entries
(while s
;; Using the tag found in TMP, lets find the tag
;; Using the tag found in TMP, let's find the tag
;; representing the full typeographic information of its
;; type, and use that to determine the search context for
;; (car s)

View file

@ -515,7 +515,7 @@ Optional argument NOSNARF is ignored."
(let ((d (semantic-tag-docstring tag)))
(when (not d)
(cond ((semantic-tag-with-position-p tag)
;; Doc isn't in the tag itself. Lets pull it out of the
;; Doc isn't in the tag itself. Let's pull it out of the
;; sources.
(let ((semantic-elisp-store-documentation-in-tag t))
(setq tag (with-current-buffer (semantic-tag-buffer tag)

View file

@ -1618,7 +1618,7 @@ Display mechanism using tooltip for a list of possible completions.")
(string= (this-command-keys) "\C-i"))
(oset obj typing-count (1+ typing-count)))
;; At this point, we know we have too many items.
;; Lets be brave, and truncate l
;; Let's be brave, and truncate l
(setcdr (nthcdr (oref obj max-tags) l) nil)
(setq msg (mapconcat 'identity l "\n"))
(cond

View file

@ -410,7 +410,7 @@ Depends on `semantic-type-relation-separator-character'."
;; Set our end point.
(setq end (point))
;; Now that we have gotten started, lets do the rest.
;; Now that we have gotten started, let's do the rest.
(condition-case nil
(while (save-excursion
(forward-char -1)

View file

@ -219,7 +219,7 @@ warn instead."
;JAVE this just instantiates a default empty ebrowse struct?
; how would new instances wind up here?
; the ebrowse class isnt singleton, unlike the emacs lisp one
; the ebrowse class isn't singleton, unlike the emacs lisp one
(defvar-mode-local c++-mode semanticdb-project-system-databases
()
"Search Ebrowse for symbols.")
@ -296,7 +296,7 @@ If there is no database for DIRECTORY available, then
(when (string= (oref (car dbs) reference-directory) directory)
(setq found (car dbs))))
(setq dbs (cdr dbs)))
;;STATIC means DBE cant be used as object, only as a class
;;STATIC means DBE can't be used as object, only as a class
(let* ((ebrowse-data (semanticdb-ebrowse-get-ebrowse-structure directory))
(dat (car (cdr ebrowse-data)))
(ebd (car dat))
@ -331,7 +331,7 @@ If there is no database for DIRECTORY available, then
;JAVE what it actually seems to do is split the original tree in "tables" associated with files
; im not sure it actually works:
; the filename slot sometimes gets to be nil,
; apparently for classes which definition cant be found, yet needs to be included in the tree
; apparently for classes which definition can't be found, yet needs to be included in the tree
; like library baseclasses
; a file can define several classes
(let ((T (car (cdr data))));1st comes a header, then the tree

View file

@ -473,7 +473,7 @@ found tag to be loaded."
;; find a type/namespace because everything else is excluded.
;; If this is not the last entry from the list, then it
;; must be a type or a namespace. Lets double check.
;; must be a type or a namespace. Let's double check.
(when (cdr type)
;; From above, there is only one tag in ans, and we prefer
@ -511,7 +511,7 @@ found tag to be loaded."
;; This won't liven up the tag since we have a copy, but
;; we ought to be able to get there and go to the right line.
(find-file-noselect lastfile)
;; We don't want to find-file match, so instead lets
;; We don't want to find-file match, so instead let's
;; push the filename onto the return tag.
(when lastans
(setq lastans (semantic-tag-copy lastans nil lastfile))

View file

@ -459,7 +459,7 @@ other than :table."
(setq cache (cdr cache)))
(if obj
obj ;; Just return it.
;; No object, lets create a new one and return that.
;; No object, let's create a new one and return that.
(setq obj (funcall desired-class "Cache" :table table))
(object-add-to-list table 'cache obj)
obj)))
@ -510,7 +510,7 @@ other than :table."
(setq cache (cdr cache)))
(if obj
obj ;; Just return it.
;; No object, lets create a new one and return that.
;; No object, let's create a new one and return that.
(setq obj (funcall desired-class "Cache" :db db))
(object-add-to-list db 'cache obj)
obj)))
@ -941,7 +941,7 @@ DONTLOAD does not affect the creation of new database objects."
(setq fullfile (file-truename file))
)
;; If we have a table, but no fullfile, that's ok. Lets get the filename
;; If we have a table, but no fullfile, that's ok. Let's get the filename
;; from the table which is pre-truenamed.
(when (and (not fullfile) tab)
(setq fullfile (semanticdb-full-filename tab)))

View file

@ -739,7 +739,7 @@ any decorated referring includes.")
"Refresh any highlighting in buffers referred to by TABLE.
If TABLE is not in a buffer, do nothing."
;; This cache removal may seem odd in that we are "creating one", but
;; since we cant get in the fcn unless one exists, this ought to be
;; since we can't get in the fcn unless one exists, this ought to be
;; ok.
(let ((c (semanticdb-cache-get
table 'semantic-decoration-unparsed-include-cache)))

View file

@ -56,7 +56,7 @@ If nosnarf if 'lex, then only return the lex token."
;; Check just before the definition.
(when (semantic-tag-with-position-p tag)
(semantic-documentation-comment-preceeding-tag tag nosnarf))
;; Lets look for comments either after the definition, but before code:
;; Let's look for comments either after the definition, but before code:
;; Not sure yet. Fill in something clever later....
nil))))))

View file

@ -316,7 +316,7 @@ See `semantic-edits-change-leaf-tag' for details on parents."
(setq list-to-search nil)))
;; Search list is nil.
))
;; If we have a search list, lets go. Otherwise nothing.
;; If we have a search list, let's go. Otherwise nothing.
(while (and list-to-search (not found))
(if (cdr list-to-search)
;; We end when the start of the CDR is after the end of our

View file

@ -431,7 +431,7 @@ Optional argument COLOR means highlight the prototype with font-lock colors."
(doc (semantic-tag-docstring tag buf)))
(when (and (not doc) (not buf) fname)
;; If there is no doc, and no buffer, but we have a filename,
;; lets try again.
;; let's try again.
(save-match-data
(setq buf (find-file-noselect fname)))
(setq doc (semantic-tag-docstring tag buf)))

View file

@ -115,7 +115,7 @@ Completion options are calculated with `semantic-analyze-possible-completions'."
(if (null syms)
(if (semantic-analyze-context-p a)
;; This is a clever hack. If we were unable to find any
;; smart completions, lets divert to how senator derives
;; smart completions, let's divert to how senator derives
;; completions.
;;
;; This is a way of making this fcn more useful since
@ -251,8 +251,8 @@ Completion options are calculated with `semantic-analyze-possible-completions'."
"Jump to DEST, a Semantic tag.
This helper manages the mark, buffer switching, and pulsing."
;; We have a tag, but in C++, we usually get a prototype instead
;; because of header files. Lets try to find the actual
;; implementaion instead.
;; because of header files. Let's try to find the actual
;; implementation instead.
(when (semantic-tag-prototype-p dest)
(let* ((refs (semantic-analyze-tag-references dest))
(impl (semantic-analyze-refs-impl refs t))

View file

@ -427,7 +427,7 @@ datasets."
(defun semantic-idle-scheduler-work-parse-neighboring-files ()
"Parse all the files in similar directories to buffers being edited."
;; Lets check to see if EDE matters.
;; Let's check to see if EDE matters.
(let ((ede-auto-add-method 'never))
(dolist (a auto-mode-alist)
(when (eq (cdr a) major-mode)

View file

@ -186,7 +186,7 @@ Use `semantic-ctxt-scoped-types' to find types."
(save-excursion
(goto-char position)
(let ((code-scoped-types nil))
;; Lets ask if any types are currently scoped. Scoped
;; Let's ask if any types are currently scoped. Scoped
;; classes and types provide their public methods and types
;; in source code, but are unrelated hierarchically.
(let ((sp (semantic-ctxt-scoped-types)))
@ -249,7 +249,7 @@ are from nesting data types."
;; Analyze the stack of tags we are nested in as parents.
;;
;; If we have a pparent tag, lets go there
;; If we have a pparent tag, let's go there
;; an analyze that stack of tags.
(when (and pparent (semantic-tag-with-position-p pparent))
(semantic-go-to-tag pparent)

View file

@ -102,7 +102,7 @@ ROOTDIR is the root location to run the `find' from.
FILEPATTERN is a string representing find flags for searching file patterns.
GREPFLAGS are flags passed to grep, such as -n or -l.
GREPPATTERN is the pattern used by grep."
;; We have grep-compute-defaults. Lets use it.
;; We have grep-compute-defaults. Let's use it.
(grep-compute-defaults)
(let* ((grep-expand-keywords semantic-symref-grep-expand-keywords)
(cmd (grep-expand-template grep-find-template

View file

@ -579,7 +579,7 @@ Note: TYPE not yet implemented."
;; (setq doctag (if docstring sourcetag nil))))
;; (setq tags (cdr tags)))))
;; ;; If we found a prototype of the function that has some doc, but not the
;; ;; actual function, lets make due with that.
;; ;; actual function, let's make due with that.
;; (if (not docstring)
;; (cond ((stringp docstringvar)
;; (setq docstring docstringvar