comparison lisp/textmodes/paragraphs.el @ 49949:098ddf9714e8

(sentence-end): Add Chinese and Japanese characters.
author Kenichi Handa <handa@m17n.org>
date Mon, 24 Feb 2003 04:50:59 +0000
parents 5ade352e8d1c
children 7d324048f346
comparison
equal deleted inserted replaced
49948:d71b3dd652d7 49949:098ddf9714e8
135 (defcustom sentence-end 135 (defcustom sentence-end
136 (purecopy 136 (purecopy
137 ;; This is a bit stupid since it's not auto-updated when the 137 ;; This is a bit stupid since it's not auto-updated when the
138 ;; other variables are changes, but it's still useful info. 138 ;; other variables are changes, but it's still useful info.
139 (concat (if sentence-end-without-period "\\w \\|") 139 (concat (if sentence-end-without-period "\\w \\|")
140 "[.?!][]\"')}]*" 140 "[.?!$B!#!%!)!*$A!##.#?#!$(0!$!%!)!*$(G!$!%!)!*(B][]\"')}]*"
141 (if sentence-end-double-space 141 (if sentence-end-double-space
142 "\\($\\| $\\|\t\\| \\)" "\\($\\|[\t ]\\)") 142 "\\($\\| $\\|\t\\| \\)" "\\($\\|[\t ]\\)")
143 "[ \t\n]*")) 143 "[ \t\n]*"))
144 "*Regexp describing the end of a sentence. 144 "*Regexp describing the end of a sentence.
145 The value includes the whitespace following the sentence. 145 The value includes the whitespace following the sentence.
455 (defun transpose-sentences (arg) 455 (defun transpose-sentences (arg)
456 "Interchange this (next) and previous sentence." 456 "Interchange this (next) and previous sentence."
457 (interactive "*p") 457 (interactive "*p")
458 (transpose-subr 'forward-sentence arg)) 458 (transpose-subr 'forward-sentence arg))
459 459
460 ;;; Local Variables:
461 ;;; coding: iso-2022-7bit
462 ;;; End:
463
460 ;;; paragraphs.el ends here 464 ;;; paragraphs.el ends here