mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
; Spelling fixes
This commit is contained in:
parent
d8fac734e5
commit
acae275b27
@ -15098,7 +15098,7 @@
|
|||||||
* lisp/files.el: Don't allow customization of dir-locals sorting.
|
* lisp/files.el: Don't allow customization of dir-locals sorting.
|
||||||
In retrospect, this is not a good idea for the same reason that
|
In retrospect, this is not a good idea for the same reason that
|
||||||
`dir-locals-file' is a defconst, because it is important that this
|
`dir-locals-file' is a defconst, because it is important that this
|
||||||
behaviour be "uniform across different environments and users".
|
behavior be "uniform across different environments and users".
|
||||||
Sure, the user can still change the sorting with a hack, but we
|
Sure, the user can still change the sorting with a hack, but we
|
||||||
shouldn't encourage them to change it.
|
shouldn't encourage them to change it.
|
||||||
(dir-locals--all-files): Return list in the order returned by
|
(dir-locals--all-files): Return list in the order returned by
|
||||||
|
@ -5331,7 +5331,7 @@
|
|||||||
|
|
||||||
2010-07-09 Michael Albinus <michael.albinus@gmx.de>
|
2010-07-09 Michael Albinus <michael.albinus@gmx.de>
|
||||||
|
|
||||||
* dbus.texi (Top): Introduce Index. Emphasize "nil" whereever
|
* dbus.texi (Top): Introduce Index. Emphasize "nil" wherever
|
||||||
forgotten.
|
forgotten.
|
||||||
(Type Conversion): Precise conversion of natural numbers.
|
(Type Conversion): Precise conversion of natural numbers.
|
||||||
(Errors and Events): Add "debugging" to concept index. Add variable
|
(Errors and Events): Add "debugging" to concept index. Add variable
|
||||||
|
@ -1077,7 +1077,7 @@ major changes for implementers, and module writers:
|
|||||||
corresponding hook variables.
|
corresponding hook variables.
|
||||||
|
|
||||||
The mapping of server commands to hook variables is no longer
|
The mapping of server commands to hook variables is no longer
|
||||||
done via `erc-event-to-hook', but through an #'equal hashtable,
|
done via `erc-event-to-hook', but through an #'equal hash table,
|
||||||
`erc-server-responses'. In order to find a hook you do:
|
`erc-server-responses'. In order to find a hook you do:
|
||||||
|
|
||||||
(erc-get-hook command)
|
(erc-get-hook command)
|
||||||
|
@ -551,7 +551,7 @@ System (CLOS). It is used by the other CEDET packages.
|
|||||||
|
|
||||||
** js.el is a new major mode for JavaScript files.
|
** js.el is a new major mode for JavaScript files.
|
||||||
|
|
||||||
** imap-hash.el is a new library to address IMAP mailboxes as hashtables.
|
** imap-hash.el is a new library to address IMAP mailboxes as hash tables.
|
||||||
|
|
||||||
|
|
||||||
* Incompatible Lisp Changes in Emacs 23.2
|
* Incompatible Lisp Changes in Emacs 23.2
|
||||||
|
2
etc/TODO
2
etc/TODO
@ -38,7 +38,7 @@ stay within exec_byte_code.
|
|||||||
** Add new 'switch' byte-code
|
** Add new 'switch' byte-code
|
||||||
This byte-code would take one argument from the stack (the object to test)
|
This byte-code would take one argument from the stack (the object to test)
|
||||||
and one argument from the constant-pool (a switch table, implemented as an
|
and one argument from the constant-pool (a switch table, implemented as an
|
||||||
eq-hashtable) and would jump to the "label" contained in the hashtable.
|
'eq' hash table) and would jump to the "label" contained in the hash table.
|
||||||
|
|
||||||
Then add a 'case' special-form that can be compiled to this byte-code.
|
Then add a 'case' special-form that can be compiled to this byte-code.
|
||||||
This would behave just like cl-case, but instead of expanding to cond+eq it
|
This would behave just like cl-case, but instead of expanding to cond+eq it
|
||||||
|
@ -124,12 +124,12 @@ based on `ede-locate-setup-options'."
|
|||||||
t)
|
t)
|
||||||
|
|
||||||
(cl-defmethod ede-locate-flush-hash ((loc ede-locate-base))
|
(cl-defmethod ede-locate-flush-hash ((loc ede-locate-base))
|
||||||
"For LOC, flush hashtable and start from scratch."
|
"For LOC, flush hash table and start from scratch."
|
||||||
(oset loc hash (make-hash-table :test 'equal)))
|
(oset loc hash (make-hash-table :test 'equal)))
|
||||||
|
|
||||||
(cl-defmethod ede-locate-file-in-hash ((loc ede-locate-base)
|
(cl-defmethod ede-locate-file-in-hash ((loc ede-locate-base)
|
||||||
filestring)
|
filestring)
|
||||||
"For LOC, is the file FILESTRING in our hashtable?"
|
"For LOC, is the file FILESTRING in our hash table?"
|
||||||
(gethash filestring (oref loc hash)))
|
(gethash filestring (oref loc hash)))
|
||||||
|
|
||||||
(cl-defmethod ede-locate-add-file-to-hash ((loc ede-locate-base)
|
(cl-defmethod ede-locate-add-file-to-hash ((loc ede-locate-base)
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
(stream :initform nil
|
(stream :initform nil
|
||||||
:documentation
|
:documentation
|
||||||
"The searchable tag stream for this cache.
|
"The searchable tag stream for this cache.
|
||||||
NOTE: Can I get rid of this? Use a hashtable instead?")
|
NOTE: Can I get rid of this? Use a hash table instead?")
|
||||||
(dependants :initform nil
|
(dependants :initform nil
|
||||||
:documentation
|
:documentation
|
||||||
"Any other object that is dependent on typecache results.
|
"Any other object that is dependent on typecache results.
|
||||||
|
@ -459,7 +459,7 @@ See `defclass' for more information."
|
|||||||
(cl--slot-descriptor-initform (aref slots i)))))
|
(cl--slot-descriptor-initform (aref slots i)))))
|
||||||
(setf (eieio--class-class-allocation-values newc) v))
|
(setf (eieio--class-class-allocation-values newc) v))
|
||||||
|
|
||||||
;; Attach slot symbols into a hashtable, and store the index of
|
;; Attach slot symbols into a hash table, and store the index of
|
||||||
;; this slot as the value this table.
|
;; this slot as the value this table.
|
||||||
(let* ((slots (eieio--class-slots newc))
|
(let* ((slots (eieio--class-slots newc))
|
||||||
;; (cslots (eieio--class-class-slots newc))
|
;; (cslots (eieio--class-class-slots newc))
|
||||||
|
@ -497,7 +497,7 @@ Argument NUM is the number of EOL marks to move."
|
|||||||
;;; of line, etc.) it takes a bit of special handling.
|
;;; of line, etc.) it takes a bit of special handling.
|
||||||
;;;
|
;;;
|
||||||
;;; The variable edt-word-entities contains a list of characters which
|
;;; The variable edt-word-entities contains a list of characters which
|
||||||
;;; are to be viewed as distinct words where ever they appear in the
|
;;; are to be viewed as distinct words wherever they appear in the
|
||||||
;;; buffer. This emulates the EDT line mode command SET ENTITY WORD.
|
;;; buffer. This emulates the EDT line mode command SET ENTITY WORD.
|
||||||
|
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
;;;; Variables and options
|
;;;; Variables and options
|
||||||
|
|
||||||
(defvar erc-server-responses (make-hash-table :test #'equal)
|
(defvar erc-server-responses (make-hash-table :test #'equal)
|
||||||
"Hashtable mapping server responses to their handler hooks.")
|
"Hash table mapping server responses to their handler hooks.")
|
||||||
|
|
||||||
(cl-defstruct (erc-response (:conc-name erc-response.))
|
(cl-defstruct (erc-response (:conc-name erc-response.))
|
||||||
(unparsed "" :type string)
|
(unparsed "" :type string)
|
||||||
@ -1064,7 +1064,7 @@ See also `erc-server-responses'."
|
|||||||
(defun erc-call-hooks (process message)
|
(defun erc-call-hooks (process message)
|
||||||
"Call hooks associated with MESSAGE in PROCESS.
|
"Call hooks associated with MESSAGE in PROCESS.
|
||||||
|
|
||||||
Finds hooks by looking in the `erc-server-responses' hashtable."
|
Finds hooks by looking in the `erc-server-responses' hash table."
|
||||||
(let ((hook (or (erc-get-hook (erc-response.command message))
|
(let ((hook (or (erc-get-hook (erc-response.command message))
|
||||||
'erc-default-server-functions)))
|
'erc-default-server-functions)))
|
||||||
(run-hook-with-args-until-success hook process message)
|
(run-hook-with-args-until-success hook process message)
|
||||||
@ -1220,7 +1220,7 @@ add things to `%s' instead."
|
|||||||
(put ',fn-name 'definition-name ',name)
|
(put ',fn-name 'definition-name ',name)
|
||||||
(put ',hook-name 'definition-name ',name)
|
(put ',hook-name 'definition-name ',name)
|
||||||
|
|
||||||
;; Hashtable map of responses to hook variables
|
;; Hash table map of responses to hook variables
|
||||||
,@(cl-loop for response in (cons name aliases)
|
,@(cl-loop for response in (cons name aliases)
|
||||||
for var in (cons hook-name var-alternates)
|
for var in (cons hook-name var-alternates)
|
||||||
collect `(puthash ,(format "%s" response) ',var
|
collect `(puthash ,(format "%s" response) ',var
|
||||||
|
@ -227,7 +227,7 @@
|
|||||||
table))
|
table))
|
||||||
|
|
||||||
(defvar ucs-normalize-decomposition-pair-to-primary-composite nil
|
(defvar ucs-normalize-decomposition-pair-to-primary-composite nil
|
||||||
"Hashtable of decomposed pair to primary composite.
|
"Hash table of decomposed pair to primary composite.
|
||||||
Note that Hangul are excluded.")
|
Note that Hangul are excluded.")
|
||||||
(setq ucs-normalize-decomposition-pair-to-primary-composite
|
(setq ucs-normalize-decomposition-pair-to-primary-composite
|
||||||
(ucs-normalize-make-hash-table-from-alist
|
(ucs-normalize-make-hash-table-from-alist
|
||||||
|
@ -562,7 +562,7 @@ The symbol property `isearch-message-prefix' put on this function
|
|||||||
specifies the prefix string displayed in the search message.
|
specifies the prefix string displayed in the search message.
|
||||||
|
|
||||||
This variable is set and changed during isearch. To change the
|
This variable is set and changed during isearch. To change the
|
||||||
default behaviour used for searches, see `search-default-mode'
|
default behavior used for searches, see `search-default-mode'
|
||||||
instead.")
|
instead.")
|
||||||
;; We still support setting this to t for backwards compatibility.
|
;; We still support setting this to t for backwards compatibility.
|
||||||
(define-obsolete-variable-alias 'isearch-word
|
(define-obsolete-variable-alias 'isearch-word
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
(eval-and-compile
|
(eval-and-compile
|
||||||
|
|
||||||
(defun indian-regexp-of-hashtbl-keys (hashtbl)
|
(defun indian-regexp-of-hashtbl-keys (hashtbl)
|
||||||
"Returns the regular expression of hashtable keys."
|
"Return the regular expression of hash table keys."
|
||||||
(let (keys)
|
(let (keys)
|
||||||
(maphash (lambda (key val) (push key keys)) hashtbl)
|
(maphash (lambda (key val) (push key keys)) hashtbl)
|
||||||
(regexp-opt keys)))
|
(regexp-opt keys)))
|
||||||
|
@ -1859,7 +1859,7 @@ PROC is used to convert the value to actual data."
|
|||||||
(defun mh-index-update-maps (folder &optional origin-map)
|
(defun mh-index-update-maps (folder &optional origin-map)
|
||||||
"Annotate all as yet unannotated messages in FOLDER with their MD5 hash.
|
"Annotate all as yet unannotated messages in FOLDER with their MD5 hash.
|
||||||
As a side effect msg -> checksum map is updated. Optional
|
As a side effect msg -> checksum map is updated. Optional
|
||||||
argument ORIGIN-MAP is a hashtable which maps each message in the
|
argument ORIGIN-MAP is a hash table which maps each message in the
|
||||||
index folder to the original folder and message from whence it
|
index folder to the original folder and message from whence it
|
||||||
was copied. If present the checksum -> (origin-folder,
|
was copied. If present the checksum -> (origin-folder,
|
||||||
origin-index) map is updated too."
|
origin-index) map is updated too."
|
||||||
@ -1913,7 +1913,7 @@ origin-index) map is updated too."
|
|||||||
(defun mh-index-update-single-msg (msg checksum origin-map)
|
(defun mh-index-update-single-msg (msg checksum origin-map)
|
||||||
"Update various maps for one message.
|
"Update various maps for one message.
|
||||||
MSG is a index folder message, CHECKSUM its MD5 hash and
|
MSG is a index folder message, CHECKSUM its MD5 hash and
|
||||||
ORIGIN-MAP, if non-nil, a hashtable containing which maps each
|
ORIGIN-MAP, if non-nil, a hash table containing which maps each
|
||||||
message in the index folder to the folder and message that it was
|
message in the index folder to the folder and message that it was
|
||||||
copied from. The function updates the hash tables
|
copied from. The function updates the hash tables
|
||||||
`mh-index-msg-checksum-map' and `mh-index-checksum-origin-map'.
|
`mh-index-msg-checksum-map' and `mh-index-checksum-origin-map'.
|
||||||
|
@ -89,11 +89,11 @@
|
|||||||
(real-child-p t))
|
(real-child-p t))
|
||||||
|
|
||||||
(defvar mh-thread-id-hash nil
|
(defvar mh-thread-id-hash nil
|
||||||
"Hashtable used to canonicalize message identifiers.")
|
"Hash table used to canonicalize message identifiers.")
|
||||||
(make-variable-buffer-local 'mh-thread-id-hash)
|
(make-variable-buffer-local 'mh-thread-id-hash)
|
||||||
|
|
||||||
(defvar mh-thread-subject-hash nil
|
(defvar mh-thread-subject-hash nil
|
||||||
"Hashtable used to canonicalize subject strings.")
|
"Hash table used to canonicalize subject strings.")
|
||||||
(make-variable-buffer-local 'mh-thread-subject-hash)
|
(make-variable-buffer-local 'mh-thread-subject-hash)
|
||||||
|
|
||||||
(defvar mh-thread-id-table nil
|
(defvar mh-thread-id-table nil
|
||||||
@ -109,11 +109,11 @@
|
|||||||
(make-variable-buffer-local 'mh-thread-id-index-map)
|
(make-variable-buffer-local 'mh-thread-id-index-map)
|
||||||
|
|
||||||
(defvar mh-thread-subject-container-hash nil
|
(defvar mh-thread-subject-container-hash nil
|
||||||
"Hashtable used to group messages by subject.")
|
"Hash table used to group messages by subject.")
|
||||||
(make-variable-buffer-local 'mh-thread-subject-container-hash)
|
(make-variable-buffer-local 'mh-thread-subject-container-hash)
|
||||||
|
|
||||||
(defvar mh-thread-duplicates nil
|
(defvar mh-thread-duplicates nil
|
||||||
"Hashtable used to associate messages with the same message identifier.")
|
"Hash table used to associate messages with the same message identifier.")
|
||||||
(make-variable-buffer-local 'mh-thread-duplicates)
|
(make-variable-buffer-local 'mh-thread-duplicates)
|
||||||
|
|
||||||
(defvar mh-thread-history ()
|
(defvar mh-thread-history ()
|
||||||
|
@ -903,7 +903,7 @@ KEY is a string or vector representing a sequence of keystrokes."
|
|||||||
|
|
||||||
(defun substitute-key-definition (olddef newdef keymap &optional oldmap prefix)
|
(defun substitute-key-definition (olddef newdef keymap &optional oldmap prefix)
|
||||||
"Replace OLDDEF with NEWDEF for any keys in KEYMAP now defined as OLDDEF.
|
"Replace OLDDEF with NEWDEF for any keys in KEYMAP now defined as OLDDEF.
|
||||||
In other words, OLDDEF is replaced with NEWDEF where ever it appears.
|
In other words, OLDDEF is replaced with NEWDEF wherever it appears.
|
||||||
Alternatively, if optional fourth argument OLDMAP is specified, we redefine
|
Alternatively, if optional fourth argument OLDMAP is specified, we redefine
|
||||||
in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP.
|
in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP.
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ See the end of the file for license conditions.
|
|||||||
page.
|
page.
|
||||||
|
|
||||||
Emacs is completely portable. You can create your own shortcut to
|
Emacs is completely portable. You can create your own shortcut to
|
||||||
runemacs.exe and place this where ever you find it convienient, or
|
runemacs.exe and place this wherever you find it convenient, or
|
||||||
run it from a USB or network drive without copying or installing
|
run it from a USB or network drive without copying or installing
|
||||||
anything on the machine itself.
|
anything on the machine itself.
|
||||||
|
|
||||||
|
@ -1167,7 +1167,7 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
|
|||||||
|
|
||||||
/* Called before syms_of_fileio, because it sets up Qerror_condition. */
|
/* Called before syms_of_fileio, because it sets up Qerror_condition. */
|
||||||
syms_of_data ();
|
syms_of_data ();
|
||||||
syms_of_fns (); /* Before syms_of_charset which uses hashtables. */
|
syms_of_fns (); /* Before syms_of_charset which uses hash tables. */
|
||||||
syms_of_fileio ();
|
syms_of_fileio ();
|
||||||
/* Before syms_of_coding to initialize Vgc_cons_threshold. */
|
/* Before syms_of_coding to initialize Vgc_cons_threshold. */
|
||||||
syms_of_alloc ();
|
syms_of_alloc ();
|
||||||
|
@ -2500,7 +2500,7 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list)
|
|||||||
c = READCHAR;
|
c = READCHAR;
|
||||||
if (c == '(')
|
if (c == '(')
|
||||||
{
|
{
|
||||||
/* Accept extended format for hashtables (extensible to
|
/* Accept extended format for hash tables (extensible to
|
||||||
other types), e.g.
|
other types), e.g.
|
||||||
#s(hash-table size 2 test equal data (k1 v1 k2 v2)) */
|
#s(hash-table size 2 test equal data (k1 v1 k2 v2)) */
|
||||||
Lisp_Object tmp = read_list (0, readcharfun);
|
Lisp_Object tmp = read_list (0, readcharfun);
|
||||||
@ -2546,10 +2546,10 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list)
|
|||||||
if (!NILP (params[param_count + 1]))
|
if (!NILP (params[param_count + 1]))
|
||||||
param_count += 2;
|
param_count += 2;
|
||||||
|
|
||||||
/* This is the hashtable data. */
|
/* This is the hash table data. */
|
||||||
data = Fplist_get (tmp, Qdata);
|
data = Fplist_get (tmp, Qdata);
|
||||||
|
|
||||||
/* Now use params to make a new hashtable and fill it. */
|
/* Now use params to make a new hash table and fill it. */
|
||||||
ht = Fmake_hash_table (param_count, params);
|
ht = Fmake_hash_table (param_count, params);
|
||||||
|
|
||||||
while (CONSP (data))
|
while (CONSP (data))
|
||||||
@ -2557,7 +2557,7 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list)
|
|||||||
key = XCAR (data);
|
key = XCAR (data);
|
||||||
data = XCDR (data);
|
data = XCDR (data);
|
||||||
if (!CONSP (data))
|
if (!CONSP (data))
|
||||||
error ("Odd number of elements in hashtable data");
|
error ("Odd number of elements in hash table data");
|
||||||
val = XCAR (data);
|
val = XCAR (data);
|
||||||
data = XCDR (data);
|
data = XCDR (data);
|
||||||
Fputhash (key, val, ht);
|
Fputhash (key, val, ht);
|
||||||
|
Loading…
Reference in New Issue
Block a user