Commit graph

408 commits

Author SHA1 Message Date
Juri Linkov
69f5930ae5 (ispell-word): Add interactive arg `region'. Fix docstring. 2007-10-18 00:07:48 +00:00
Miles Bader
63655c8314 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 887-889)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
2007-10-15 05:03:21 +00:00
Juri Linkov
75662d966b (ispell-word): Call `ispell-region' on the active region in transient-mark-mode.
(ispell-region): Change messages displayed at the start and end of
the spell-checking to be the same.
2007-10-14 20:40:53 +00:00
Miles Bader
b2e6b10fe2 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 846-851)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 88-92)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 242-244)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
2007-08-13 13:48:35 +00:00
Glenn Morris
3ecd3a56c0 Replace `iff' in doc-strings and comments. 2007-08-08 07:27:21 +00:00
Miles Bader
e468b87f91 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 824-831)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 70-74)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
2007-07-27 10:52:18 +00:00
Glenn Morris
5a9dffec38 Switch license to GPLv3 or later. 2007-07-25 04:24:43 +00:00
Miles Bader
262be72a9a Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 751-770)

   - Update from CVS
   - Merge from emacs--rel--22
   - Update from CVS: lisp/textmodes/sgml-mode.el: Revert last change.
   - Merge from gnus--rel--5.10

 * emacs--rel--22  (patch 18-25)
 * gnus--rel--5.10  (patch 222-223)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-208
2007-05-24 21:31:10 +00:00
Richard M. Stallman
64953c0a99 (ispell-get-word): Return markers for start and end positions.
(ispell-word): Assume END is a marker.
2007-05-18 22:32:08 +00:00
Martin Rudalics
ef1f3012fa (ispell-start-process): Defend against bad default-directory. 2007-05-17 08:28:29 +00:00
Miles Bader
d85d38392e Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 670-674)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 209-210)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-185
2007-03-21 13:33:07 +00:00
Richard M. Stallman
bc4c663309 (ispell-call-process): New function.
Defends against bad `default-directory.'
(ispell-check-version, ispell-find-aspell-dictionaries)
(ispell-get-aspell-config-value, lookup-words): Call it.
(ispell-call-process-region): New function.
(ispell-send-string): Call it.
2007-03-20 16:23:09 +00:00
Miles Bader
a73d7753f9 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 638-652)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 202)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-177
2007-02-26 23:03:45 +00:00
Juanma Barranquero
ce6fb7e623 (ispell-dictionary-alist): Doc fix. 2007-02-14 12:46:43 +00:00
Juanma Barranquero
b11a1b2e3b (ispell-keep-choices-win, ispell-dictionary-alist, ispell-word,
ispell-begin-skip-region-regexp): Fix typos in docstrings.
(ispell-process-line): Doc fixes.
(ispell-help): Fix typos in docstring and output message.
2007-02-14 12:42:01 +00:00
Miles Bader
c0466914ba Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 586-614)

   - Update from CVS
   - Update from erc--emacs--22
   - Merge from gnus--rel--5.10
   - Merge from erc--main--0
   - Make byte compiler correctly write circular constants

 * gnus--rel--5.10  (patch 186-196)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
2007-01-26 06:16:11 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Reiner Steib
423cef56c5 (ispell-change-dictionary): Ensure that
aspell dictionaries are initialized when called non-interactively.
2007-01-19 17:22:13 +00:00
Martin Rudalics
1350ca79f0 (ispell-dictionary-alist-3): Replace "---" by "-" in francais7
otherchars entry.
(ispell-dictionary-alist-5): Replace "." by "[.]" for polish otherchars
entry.
2007-01-16 08:51:07 +00:00
Miles Bader
dbc3b08c40 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 490-504)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 161-163)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-130
2006-11-07 23:22:48 +00:00
Juanma Barranquero
24b52f089b (ispell, ispell-local-dictionary-alist, ispell-help): Fix typos in docstrings.
(ispell-help): Fix typo in output message.
2006-11-06 02:23:12 +00:00
Miles Bader
f3bbbd1145 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 447-459)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 141-144)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-115
2006-10-03 05:04:21 +00:00
Chong Yidong
e42a01cb9b * textmodes/ispell.el (ispell-change-dictionary): Don't check the
local dictionary when changing the global dictionary.
2006-09-23 19:05:03 +00:00
Miles Bader
e2b9706014 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 357-381)

   - Merge from gnus--rel--5.10
   - Update from CVS
   - Merge from erc--emacs--21

 * gnus--rel--5.10  (patch 116-122)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-98
2006-08-03 11:45:23 +00:00
Richard M. Stallman
76a4749497 (ispell-word): If we replace the word, move point to the end.
Insert before deleting.
2006-07-26 17:11:07 +00:00
Miles Bader
10c1758c0b Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 300-313)

   - Update from CVS
   - Update from CVS: lispref/display.texi (Forcing Redisplay): Fix typo.
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 105-106)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-74
2006-06-17 20:57:37 +00:00
Kim F. Storm
2a997209bd (ispell-kill-ispell): If ispell has been
launched asynchronously, delete its process instead of being cool.
(ispell-async-processp): Check for `delete-process' existence
instead of `kill-process' one for consistency.
Submitted by: Michaël Cadilhac  <michael.cadilhac@lrde.org>
2006-06-09 13:04:13 +00:00
Miles Bader
b883cdb2fe Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 285-296)

   - Update from CVS
   - Merge from gnus--rel--5.10
   - Update from CVS: admin/FOR-RELEASE: Update refcard section.

 * gnus--rel--5.10  (patch 102-104)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
2006-06-07 18:05:10 +00:00
Roland Winkler
41d207e1aa (ispell-format-word): Make this the alias for the following variable.
(ispell-format-word-function): Make this the real name.
(ispell-message-text-end): Mark as risky.
2006-05-21 20:25:43 +00:00
Miles Bader
3bcf2b084a Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-60
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 259-273)

   - Update from CVS
   - lisp/replace.el (occur-engine): Bind `inhibit-field-text-motion' to t
   - Merge from gnus--rel--5.10
   - Rename "field-at-point" to "field-at-pos"
   - (comint-insert-input): Remove redundant calls to setq and goto-char

 * gnus--rel--5.10  (patch 99-100)

   - Merge from emacs--devo--0
   - Update from CVS
2006-05-10 20:42:41 +00:00
Eli Zaretskii
87a6b92cf5 (ispell-buffer-local-dict): Add a `no-reload' argument to avoid the call to
`ispell-internal-change-dictionary' when not needed.
(ispell-change-dictionary): Use this argument and call
`ispell-internal-change-dictionary' after the possible change to
`ispell-local-dictionary'.
(ispell-internal-change-dictionary): Check for a change in personal dictionary
use too.
Cosmetic changes from Agustín Martín <agustin.martin@hispalinux.es>.
2006-05-05 12:34:51 +00:00
Miles Bader
49d395cd57 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-54
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 190-203)

   - Update from CVS
   - Undo incorrect merge of etc/images/README from Gnus 5.10
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 74-80)

   - Update from CVS
   - Update from CVS: README: Addition from 5.10.6 tar ball.
2006-04-09 00:38:22 +00:00
Reiner Steib
3e45722587 * subr.el (string-or-null-p): New function.
* textmodes/paragraphs.el (sentence-end): Use string-or-null-p.

* textmodes/ispell.el (ispell-local-dictionary): Use
string-or-null-p.

* files.el: Update comment about safe-local-variable declarations.
2006-04-06 19:20:38 +00:00
Reiner Steib
6c07f4d42a * files.el: Move some `safe-local-variable' declarations to the
respective files.

* textmodes/ispell.el (ispell-check-comments)
(ispell-local-dictionary): Mark as safe.

* abbrev.el (abbrev-mode): Mark as safe.

* add-log.el (change-log-default-name): Mark as safe.

* textmodes/reftex-vars.el (reftex-vref-is-default)
(reftex-fref-is-default, reftex-level-indent)
(reftex-guess-label-type): Mark as safe.

* textmodes/fill.el (colon-double-space): Mark as safe.

* textmodes/paragraphs.el (paragraph-start, paragraph-separate)
(sentence-end-double-space, sentence-end-without-period)
(sentence-end-without-space, sentence-end, sentence-end-base)
(page-delimiter, paragraph-ignore-fill-prefix): Mark as safe.
2006-04-06 15:36:24 +00:00
Miles Bader
292203c9ef Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-46
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 157-163)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 58-61)

   - Update from CVS
2006-03-19 19:43:57 +00:00
Eli Zaretskii
b857cb5c8e (ispell-skip-region-alist): Add "_+" to the part that matches email addresses,
file names, etc.
2006-03-18 14:11:55 +00:00
Miles Bader
71936d6753 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-43
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 148-156)

   - Update from CVS
   - Merge from gnus--rel--5.10
   - Remove nick-abbrevs stuff from rcirc.el
   - rcirc.el update from Ryan Yeske

 * gnus--rel--5.10  (patch 57)

   - Copy/update icons from Gnus trunk
2006-03-13 12:19:58 +00:00
Eli Zaretskii
918555b804 (ispell-find-aspell-dictionaries): Add aliases before merging elements from the
standard ispell-dictionary-alist.
(ispell-aspell-add-aliases): Add aliases to the passed dictionary alist, and
return the new alist.
2006-03-11 15:36:15 +00:00
Eli Zaretskii
17849b4ae2 (ispell-menu-map-needed) [ispell-message]: Be visible only if major mode
is Mail Mode.
2006-03-11 15:29:52 +00:00
Miles Bader
b434f199db Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-21
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 97-112)

   - Update from CVS
   - Merge from erc--emacs--0
   - Update from CVS: src/regex.c (extend_range_table_work_area): Fix typo.
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 37)

   - Update from CVS
2006-02-22 06:54:10 +00:00
Eli Zaretskii
72e4724be1 (ispell-local-dictionary-alist): Accept as valid any coding-system
supported by emacs.
(ispell-dictionary-alist-3): Esperanto dictionary's coding system
changed to iso-8859-3.
2006-02-17 11:13:26 +00:00
Eli Zaretskii
a2a385a7ab (ispell-change-dictionary): Call ispell-buffer-local-dict instead of
ispell-accept-buffer-local-defs.
2006-02-17 10:43:53 +00:00
Miles Bader
06eb776d8e Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-9
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 16-33)

   - Update from CVS
   - Install ERC.
   - Fix ERC compiler warnings.
   - Use utf-8 encoding in ERC ChangeLogs.
   - Merge ERC-related Viper hacks into Viper.
   - Merge from erc--main--0
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 8-13)

   - Merge from emacs--devo--0
   - Update from CVS
2006-02-01 10:07:17 +00:00
Eli Zaretskii
967a91b21d (ispell-find-aspell-dictionaries): If no English aspell dictionary is
installed, use the first entry of ispell-dictionary-alist-1.
2006-01-27 19:49:14 +00:00
Miles Bader
41882805d6 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 616-696)

   - Add lisp/mh-e/.arch-inventory
   - Update from CVS
   - Merge from gnus--rel--5.10
   - Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords.
   - lisp/gnus/ChangeLog: Remove duplicate entry

 * gnus--rel--5.10  (patch 147-181)

   - Update from CVS
   - Merge from emacs--cvs-trunk--0
   - Update from CVS: lisp/mml.el (mml-preview): Doc fix.
   - Update from CVS: texi/message.texi: Fix default values.
   - Update from CVS: texi/gnus.texi (RSS): Addition.
2006-01-16 08:37:27 +00:00
Stefan Monnier
d83d8efe0b (ispell-internal-change-dictionary, ispell-change-dictionary):
Undo most of last change of 2006-01-13.
(start, end): Move declaration outside of eval-when-compile.
2006-01-15 06:05:50 +00:00
Stefan Monnier
2834b9b3b8 (ispell-kill-ispell): Run new hook ispell-kill-ispell-hook. 2006-01-15 05:42:35 +00:00
Eli Zaretskii
fc8a237d21 (ispell-init-process): Include the used dictionary in ispell process
start message.
(ispell-internal-change-dictionary): When flyspell-mode is active and
dictionary is changed, make sure ispell process is restarted and
flyspell word cache cleared out for the current buffer.
(ispell-change-dictionary): Make sure flyspell word cache is cleared
out in all buffers with active flyspell mode when dictionary is globally
changed.  Call ispell-internal-change-dictionary after dictionary change.
2006-01-13 10:46:09 +00:00
Richard M. Stallman
09b2eb5e8c (ispell-current-personal-dictionary): New variable.
(ispell-start-process): Set that variable.
Clear ispell-buffer-local-name.
(ispell-internal-change-dictionary):
Set ispell-current-dictionary after killing process.
(ispell-buffer-local-dict):
Don't set spell-personal-dictionary after killing process.
(ispell-buffer-local-words): Don't clear out ispell-buffer-local-name.

(ispell-tex-skip-alists)
(ispell-html-skip-alists, ispell-skip-region-alist): Mark as risky.
2005-12-16 02:00:02 +00:00
Juri Linkov
9bb3de4b31 (ispell-highlight-spelling-error-overlay):
Change overlay priority from 1 to 1001.  Reuse existing overlay.
2005-12-09 09:47:30 +00:00