unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18852: [PATCH] * lisp/textmodes/paragraphs.el (sentence-end-base): include more Unicode characters, in particular ellipsis (…) and interrobang can end a sentence, and single quote (’) can end a quote.
@ 2014-10-27 16:18 Michal Nazarewicz
  0 siblings, 0 replies; only message in thread
From: Michal Nazarewicz @ 2014-10-27 16:18 UTC (permalink / raw)
  To: 18852

---
 lisp/textmodes/paragraphs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index 3e77d37..1dc1a66 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -168,7 +168,7 @@ to obtain the value of this variable."
   :type '(choice regexp (const :tag "Use default value" nil)))
 (put 'sentence-end 'safe-local-variable 'string-or-null-p)
 
-(defcustom sentence-end-base "[.?!][]\"'”)}]*"
+(defcustom sentence-end-base "[.?!…‽][]\"'”’)}]*"
   "Regexp matching the basic end of a sentence, not including following space."
   :group 'paragraphs
   :type 'string
-- 
2.1.0.rc2.206.gedb03e5






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-27 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-27 16:18 bug#18852: [PATCH] * lisp/textmodes/paragraphs.el (sentence-end-base): include more Unicode characters, in particular ellipsis (…) and interrobang can end a sentence, and single quote (’) can end a quote Michal Nazarewicz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).