how to restrict the numbers of chars in a buffer/file

Aidan Kehoe kehoea at parhasard.net
Thu Aug 3 04:59:35 EDT 2006


 Ar an dara lá de mí Lúnasa, scríobh Uwe Brauer: 

 > Thanks, ok. On the net there are some services which allow you to send
 > sms messages for almost free. I use mozilla and mozdev, which then
 > calls (X)Emacs. The thing is that a SMS message should not exceed 150
 > (or may be 155) chars. So that's why I thought it would be useful to
 > have even a simple major mode which would allow me not to type more
 > than 150 chars.

160 seven-bit bytes. Note that certain characters--€, [, ], \, ^, {, }, |,
~--occupy two of these seven-bit bytes. See
http://www.csoft.co.uk/sms/character_sets/gsm.htm . 

-- 
Santa Maradona, priez pour moi!




More information about the XEmacs-Beta mailing list