+2005-07-09 Juri Linkov <juri@jurta.org>
+
+ * fringe.el (fringe-mode): Add period in docstring.
+ (fringe-query-style): Build prompt depending on `all-frames' arg.
+
+ * dired.el (dired-marker-char): Avoid quotations for `do' and `mark'
+ to not create links to unrelated functions in the Help buffer.
+
+ * progmodes/compile.el (compilation-mode-hook, compilation-mode):
+ Doc fix.
+
+ * simple.el (next-error-hook): New variable.
+ (next-error): Use it. Doc fix.
+
+ * textmodes/ispell.el (ispell-command-loop): Add current
+ dictionary name and program name to mode-line-format.
+ (ispell-region, ispell-process-line): Add current dictionary name
+ and program name to messages.
+
2005-07-08 Jay Belanger <belanger@truman.edu>
* calc/calc.el (calc-embedded-announce-formula-alist)
;; setup the *Choices* buffer with valid data.
(save-excursion
(set-buffer (get-buffer-create ispell-choices-buffer))
- (setq mode-line-format (concat "-- %b -- word: " word))
+ (setq mode-line-format
+ (concat "-- %b -- word: " word
+ " -- dict: " (or ispell-current-dictionary "default")
+ " -- prog: " (file-name-nondirectory ispell-program-name)))
;; XEmacs: no need for horizontal scrollbar in choices window
(with-no-warnings
(and (fboundp 'set-specifier)
(erase-buffer)
(setq count ?0
skipped 0
- mode-line-format (concat
- "-- %b -- word: "
- new-word)
+ mode-line-format
+ (concat "-- %b -- word: " new-word
+ " -- dict: "
+ ispell-alternate-dictionary)
miss (lookup-words new-word)
choices miss
line ispell-choices-win-default-height)
(rstart (make-marker)))
(unwind-protect
(save-excursion
- (message "Spell checking %s using %s dictionary..."
+ (message "Spell checking %s using %s with %s dictionary..."
(if (and (= reg-start (point-min)) (= reg-end (point-max)))
(buffer-name) "region")
+ (file-name-nondirectory ispell-program-name)
(or ispell-current-dictionary "default"))
;; Returns cursor to original location.
(save-window-excursion
(set-marker skip-region-start (- (point) (length key)))
(goto-char reg-start)))
(let (message-log-max)
- (message "Continuing spelling check using %s dictionary..."
+ (message "Continuing spelling check using %s with %s dictionary..."
+ (file-name-nondirectory ispell-program-name)
(or ispell-current-dictionary "default")))
(set-marker rstart reg-start)
(set-marker ispell-region-end reg-end)
(if (not recheckp) (set-marker ispell-region-end nil))
;; Only save if successful exit.
(ispell-pdict-save ispell-silently-savep)
- (message "Spell-checking done")))))
+ (message "Spell-checking using %s with %s dictionary done"
+ (file-name-nondirectory ispell-program-name)
+ (or ispell-current-dictionary "default"))))))
(defun ispell-begin-skip-region-regexp ()
))
(if (not ispell-quit)
(let (message-log-max)
- (message "Continuing spelling check using %s dictionary..."
+ (message "Continuing spelling check using %s with %s dictionary..."
+ (file-name-nondirectory ispell-program-name)
(or ispell-current-dictionary "default"))))
(sit-for 0)
(setq start (marker-position line-start)