* Unicode in regexp
@ 2004-12-04 14:33 Torsten Bronger
2004-12-14 14:02 ` Reiner Steib
0 siblings, 1 reply; 2+ messages in thread
From: Torsten Bronger @ 2004-12-04 14:33 UTC (permalink / raw)
Hallöchen!
* A list-item-style beginning of a line is interpreted as such by
Emacs, as demonstrated here.
However, I want to use notes mode for taking on-line notes, and
there this has a special meaning, so I want to use "•" (the real
bullet in Unicode) instead. I know that
'(adaptive-fill-regexp "[ \t]*\\([-!|#%;>*]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*")
in the appropriate place in my .emacs can do this, but how do I add
the unicode to it? Although the .emacs starts with
;-*- Mode: Emacs-Lisp; coding: utf-8; -*-
a direct insertion doesn't work, neither does the UTF-8 code
sequence translated to Latin-1.
Any hints? Thank you!
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unicode in regexp
2004-12-04 14:33 Unicode in regexp Torsten Bronger
@ 2004-12-14 14:02 ` Reiner Steib
0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2004-12-14 14:02 UTC (permalink / raw)
On Sat, Dec 04 2004, Torsten Bronger wrote:
> However, I want to use notes mode for taking on-line notes, and
> there this has a special meaning, so I want to use "•" (the real
> bullet in Unicode) instead. I know that
>
> '(adaptive-fill-regexp "[ \t]*\\([-!|#%;>*]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*")
>
> in the appropriate place in my .emacs can do this, but how do I add
> the unicode to it? Although the .emacs starts with
>
> ;-*- Mode: Emacs-Lisp; coding: utf-8; -*-
>
> a direct insertion doesn't work, neither does the UTF-8 code
> sequence translated to Latin-1.
And you custom statement (custom-set-variables ...) is in ~/.emacs?
Putting this in my-adapt-utf.el and loading it in Emacs works for me
in text mode.
--8<---------------cut here---------------start------------->8---
;; -*- coding: utf-8; -*-
(setq adaptive-fill-regexp
"[ \t]*\\([-!|#%;>*•]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*")
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-14 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-04 14:33 Unicode in regexp Torsten Bronger
2004-12-14 14:02 ` Reiner Steib
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.